Fix #384: FM radio getting stuck off on unrecognized incoming CTCSS tone

This commit is contained in:
Krzysiek Egzmont
2024-01-12 15:54:18 +01:00
parent 685ecb062b
commit 9472bbb58b

View File

@@ -267,6 +267,7 @@ void FUNCTION_Select(FUNCTION_Type_t Function)
gSchedulePowerSave = false; gSchedulePowerSave = false;
#if defined(ENABLE_FMRADIO) #if defined(ENABLE_FMRADIO)
gFM_RestoreCountdown_10ms = 0; if(Function != FUNCTION_INCOMING)
gFM_RestoreCountdown_10ms = 0;
#endif #endif
} }