AP_Notify: enable board LEDs for ESC calibration

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
This commit is contained in:
Andrew Tridgell 2013-08-29 13:49:03 +10:00
parent d67ad2c7ee
commit 7535ecb282
1 changed files with 2 additions and 2 deletions

View File

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