Copter: added a delay in ESC calibration

this allows AP_Notify to run via the delay callback
This commit is contained in:
Andrew Tridgell 2013-08-29 13:52:39 +10:00
parent 7535ecb282
commit 1b99ef5e4f
1 changed files with 1 additions and 1 deletions

View File

@ -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