Copter: restore LEDs to off state when auto-trim completes

This commit is contained in:
Randy Mackay 2013-07-04 16:38:28 -10:00
parent 79d2fe6271
commit 0cf4ac088a
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ static void auto_trim()
if(auto_trim_counter == 0) { if(auto_trim_counter == 0) {
ahrs.set_fast_gains(false); ahrs.set_fast_gains(false);
led_mode = NORMAL_LEDS; led_mode = NORMAL_LEDS;
clear_leds();
} }
} }
} }