Improve Wake Up (disable key action except PTT)

This commit is contained in:
Armel FAUVEAU
2024-11-19 19:58:44 +01:00
parent 6eef189048
commit a39639dd8a

View File

@@ -1832,7 +1832,7 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
{ {
BACKLIGHT_TurnOn(); BACKLIGHT_TurnOn();
if(Key == KEY_SIDE1 || Key == KEY_SIDE2) if(Key != KEY_PTT)
{ {
Key = KEY_INVALID; Key = KEY_INVALID;
} }