mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: enable board LEDs for ESC calibration
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
This commit is contained in:
parent
d67ad2c7ee
commit
7535ecb282
|
@ -55,8 +55,8 @@ void AP_BoardLED::update(void)
|
|||
return;
|
||||
}
|
||||
|
||||
// save trim
|
||||
if (AP_Notify::flags.save_trim) {
|
||||
// save trim and ESC calibration
|
||||
if (AP_Notify::flags.save_trim || AP_Notify::flags.esc_calibration) {
|
||||
static uint8_t save_trim_counter = 0;
|
||||
if ((counter2 & 0x2) == 0) {
|
||||
save_trim_counter++;
|
||||
|
|
Loading…
Reference in New Issue