mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-06 05:34:09 -04:00
Copter: shorten ESC calibration message
This commit is contained in:
parent
8b87a407ed
commit
fdf6aa5492
@ -62,13 +62,13 @@ static void init_rc_out()
|
|||||||
// we will enter esc_calibrate mode on next reboot
|
// we will enter esc_calibrate mode on next reboot
|
||||||
g.esc_calibrate.set_and_save(1);
|
g.esc_calibrate.set_and_save(1);
|
||||||
// display message on console
|
// display message on console
|
||||||
cliSerial->printf_P(PSTR("Entering ESC Calibration: please restart APM.\n"));
|
cliSerial->printf_P(PSTR("Entering ESC Cal: restart APM.\n"));
|
||||||
// turn on esc calibration notification
|
// turn on esc calibration notification
|
||||||
AP_Notify::flags.esc_calibration = true;
|
AP_Notify::flags.esc_calibration = true;
|
||||||
// block until we restart
|
// block until we restart
|
||||||
while(1) { delay(5); }
|
while(1) { delay(5); }
|
||||||
}else{
|
}else{
|
||||||
cliSerial->printf_P(PSTR("ESC Calibration active: passing throttle through to ESCs.\n"));
|
cliSerial->printf_P(PSTR("ESC Cal: passing throttle through to ESCs.\n"));
|
||||||
// clear esc flag
|
// clear esc flag
|
||||||
g.esc_calibrate.set_and_save(0);
|
g.esc_calibrate.set_and_save(0);
|
||||||
// pass through user throttle to escs
|
// pass through user throttle to escs
|
||||||
|
Loading…
Reference in New Issue
Block a user