From 289e745ea64dd165867a3fde0cf454fac84cb43d Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Thu, 10 Oct 2024 03:46:53 +0200 Subject: [PATCH] Restore NOAA support --- app/app.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/app.c b/app/app.c index c17e644..d58e23d 100644 --- a/app/app.c +++ b/app/app.c @@ -1605,7 +1605,11 @@ void APP_TimeSlice500ms(void) gWakeUp = false; } + #ifdef ENABLE_AIRCOPY if(gCurrentFunction != FUNCTION_TRANSMIT && !FUNCTION_IsRx() && gScreenToDisplay != DISPLAY_AIRCOPY) + #else + if(gCurrentFunction != FUNCTION_TRANSMIT && !FUNCTION_IsRx()) + #endif { if (gSleepModeCountdown_500ms > 0 && --gSleepModeCountdown_500ms == 0) { gBacklightCountdown_500ms = 0;