Restore NOAA support

This commit is contained in:
Armel FAUVEAU
2024-10-10 03:46:53 +02:00
parent 073551c5f4
commit 289e745ea6

View File

@@ -1605,7 +1605,11 @@ void APP_TimeSlice500ms(void)
gWakeUp = false; gWakeUp = false;
} }
#ifdef ENABLE_AIRCOPY
if(gCurrentFunction != FUNCTION_TRANSMIT && !FUNCTION_IsRx() && gScreenToDisplay != DISPLAY_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) { if (gSleepModeCountdown_500ms > 0 && --gSleepModeCountdown_500ms == 0) {
gBacklightCountdown_500ms = 0; gBacklightCountdown_500ms = 0;