From 017ece4caf3b4043d9e2ab418c7c8c905a384735 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Wed, 24 Nov 2021 16:29:08 +1000 Subject: [PATCH] Play hello wav before SF and switch checks --- radio/src/audio.cpp | 4 ---- radio/src/opentx.cpp | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/radio/src/audio.cpp b/radio/src/audio.cpp index 0dead1430..a4f21b70b 100644 --- a/radio/src/audio.cpp +++ b/radio/src/audio.cpp @@ -546,10 +546,6 @@ void audioTask(void * pdata) } #endif - if (!globalData.unexpectedShutdown) { - AUDIO_HELLO(); - } - while (true) { DEBUG_TIMER_SAMPLE(debugTimerAudioIterval); DEBUG_TIMER_START(debugTimerAudioDuration); diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index e1d719539..240b1b933 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1406,6 +1406,7 @@ void opentxStart(const uint8_t startOptions = OPENTX_START_DEFAULT_ARGS) #if defined(GUI) if (!calibration_needed && !(startOptions & OPENTX_START_NO_SPLASH)) { doSplash(); + AUDIO_HELLO(); } #endif