From 309d340daff5dbe0345ad1ddb6c8efb5ce16da60 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 9 Feb 2013 19:36:45 +0000 Subject: [PATCH] [X9D] Audio adjustments on warnings --- src/open9x.cpp | 7 ++++++- src/open9x.h | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index 46a31233e..7ae480c92 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1367,7 +1367,7 @@ void checkSwitches() // first - display warning if (last_bad_switches != switches_states) { - MESSAGE(STR_SWITCHWARN, NULL, STR_PRESSANYKEYTOSKIP, AU_SWITCH_ALERT); + MESSAGE(STR_SWITCHWARN, NULL, STR_PRESSANYKEYTOSKIP, last_bad_switches == 0xff ? AU_SWITCH_ALERT : AU_NONE); #if defined(PCBX9D) for (uint8_t i=0; i