mirror of https://github.com/ArduPilot/ardupilot
Copter: restore LEDs to off state when auto-trim completes
This commit is contained in:
parent
79d2fe6271
commit
0cf4ac088a
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue