forked from Archive/PX4-Autopilot
commander: blink red on invalid mission
It doesn't make sense to blink green when something is not good.
This commit is contained in:
parent
4ccc60e2b0
commit
90a33d59e4
|
@ -224,7 +224,7 @@ void tune_mission_warn(bool use_buzzer)
|
|||
void tune_mission_fail(bool use_buzzer)
|
||||
{
|
||||
blink_msg_end = hrt_absolute_time() + BLINK_MSG_TIME;
|
||||
rgbled_set_color_and_mode(led_control_s::COLOR_GREEN, led_control_s::MODE_BLINK_FAST);
|
||||
rgbled_set_color_and_mode(led_control_s::COLOR_RED, led_control_s::MODE_BLINK_FAST);
|
||||
|
||||
if (use_buzzer) {
|
||||
set_tune(tune_control_s::TUNE_ID_NOTIFY_NEGATIVE);
|
||||
|
|
Loading…
Reference in New Issue