Copter: added a delay in ESC calibration
this allows AP_Notify to run via the delay callback
This commit is contained in:
parent
7535ecb282
commit
1b99ef5e4f
@ -77,7 +77,7 @@ static void init_rc_out()
|
||||
// turn on esc calibration notification
|
||||
AP_Notify::flags.esc_calibration = true;
|
||||
// block until we restart
|
||||
while(1) {}
|
||||
while(1) { delay(5); }
|
||||
}else{
|
||||
cliSerial->printf_P(PSTR("ESC Calibration active: passing throttle through to ESCs.\n"));
|
||||
// clear esc flag
|
||||
|
Loading…
Reference in New Issue
Block a user