From 736d0fa10e2dcdde879657247bd851b3b1d2a046 Mon Sep 17 00:00:00 2001 From: "romolo.manfredini@gmail.com" Date: Sun, 1 Apr 2012 10:29:09 +0000 Subject: [PATCH] Better flash on beep for audio mod (saves bytes) --- src/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio.cpp b/src/audio.cpp index 093ed9e01..20a3a8086 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -161,7 +161,7 @@ void audioQueue::event(uint8_t e, uint8_t f) #endif if (e < AU_FRSKY_FIRST || empty()) { - checkFlashOnBeep(); + if(g_eeGeneral.flashBeep) g_LightOffCounter = FLASH_DURATION; switch (e) { // inactivity timer alert case AU_INACTIVITY: