increase max nrfdelay to reduce safety stops while driving
This commit is contained in:
parent
3a04a12713
commit
4176c9bd7e
|
@ -167,7 +167,7 @@ long last_nrfreceive = 0; //last time values were received and checksum ok
|
|||
unsigned long nrf_delay = 0;
|
||||
unsigned long last_nrfreceive_delay=0;
|
||||
unsigned long max_last_nrfreceive_delay=0; //maximum value (used for display)
|
||||
#define MAX_NRFDELAY 100 //ms. maximum time delay at which vehicle will disarm
|
||||
#define MAX_NRFDELAY 200 //ms. maximum time delay at which vehicle will disarm
|
||||
|
||||
boolean radiosendOk=false;
|
||||
|
||||
|
@ -879,7 +879,7 @@ void display_show_stats3() {
|
|||
display.print(F("looptime=")); display.println(loopmillis-last_loopmillis);
|
||||
display.print(F("feedback=")); display.println(esc.getFeedbackInterval());
|
||||
|
||||
display.print(F("nrf_delay=")); display.println(last_nrfreceive_delay); display.print(F(" max=")); display.println(max_last_nrfreceive_delay);
|
||||
display.print(F("nrf_delay=")); display.print(last_nrfreceive_delay); display.print(F(" (")); display.print(max_last_nrfreceive_delay);display.println(F(")"));
|
||||
display.print(F("maxdiff=")); display.println(raw_length_maxdiff);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue