Disable deep sleep during AIRCOPY

This commit is contained in:
Armel FAUVEAU
2024-10-08 02:47:31 +02:00
parent 8987e3bf8b
commit 8913ce03f7

View File

@@ -1605,7 +1605,7 @@ void APP_TimeSlice500ms(void)
gWakeUp = false;
}
if(gCurrentFunction != FUNCTION_TRANSMIT && !FUNCTION_IsRx())
if(gCurrentFunction != FUNCTION_TRANSMIT && !FUNCTION_IsRx() && gScreenToDisplay != DISPLAY_AIRCOPY)
{
if (gSleepModeCountdown_500ms > 0 && --gSleepModeCountdown_500ms == 0) {
gBacklightCountdown_500ms = 0;