commander: blink red on invalid mission

It doesn't make sense to blink green when something is not good.
This commit is contained in:
Julian Oes 2021-05-19 16:04:40 +02:00 committed by Daniel Agar
parent 4ccc60e2b0
commit 90a33d59e4
1 changed files with 1 additions and 1 deletions

View File

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