FIX #24: lock/unlock doesn't work when FM radio active

This commit is contained in:
Krzysiek Egzmont
2023-10-10 14:29:51 +02:00
parent 8d17f5922c
commit 64bc29d362

View File

@@ -53,10 +53,6 @@ void GENERIC_Key_F(bool bKeyPressed, bool bKeyHeld)
return;
if (gScreenToDisplay != DISPLAY_MENU &&
gScreenToDisplay != DISPLAY_FM &&
#ifdef ENABLE_FMRADIO
!gFmRadioMode &&
#endif
gCurrentFunction != FUNCTION_TRANSMIT)
{ // toggle the keyboad lock