From b5a79bbc0b22a83c7a4b3cefaf7f1195f5b05f32 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 14 Jun 2015 15:12:35 +0200 Subject: [PATCH] commander: Use distinct tunes for home set and mission ok / failed --- src/modules/commander/commander_helper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/commander/commander_helper.cpp b/src/modules/commander/commander_helper.cpp index cbf11de1b0..362a707c03 100644 --- a/src/modules/commander/commander_helper.cpp +++ b/src/modules/commander/commander_helper.cpp @@ -179,7 +179,7 @@ void tune_home_set(bool use_buzzer) rgbled_set_mode(RGBLED_MODE_BLINK_FAST); if (use_buzzer) { - set_tune(TONE_NOTIFY_POSITIVE_TUNE); + set_tune(TONE_HOME_SET); } } @@ -190,7 +190,7 @@ void tune_mission_ok(bool use_buzzer) rgbled_set_mode(RGBLED_MODE_BLINK_FAST); if (use_buzzer) { - set_tune(TONE_NOTIFY_POSITIVE_TUNE); + set_tune(TONE_NOTIFY_NEUTRAL_TUNE); } } @@ -201,7 +201,7 @@ void tune_mission_fail(bool use_buzzer) rgbled_set_mode(RGBLED_MODE_BLINK_FAST); if (use_buzzer) { - set_tune(TONE_NOTIFY_POSITIVE_TUNE); + set_tune(TONE_NOTIFY_NEGATIVE_TUNE); } }