mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-05 04:27:40 +00:00
Fix FM Key_UP_DOWN
This commit is contained in:
1 parent
a61801b8af
commit
b1d9ab2923
1 file changed
+11
-3
+11
-3
@@ -547,11 +547,19 @@ void FM_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
Key_MENU(state);
|
||||
break;
|
||||
case KEY_UP:
|
||||
Key_UP_DOWN(state, 1);
|
||||
#ifdef ENABLE_NAVIG_LEFT_RIGHT
|
||||
Key_UP_DOWN(state, -1);
|
||||
#else
|
||||
Key_UP_DOWN(state, 1);
|
||||
#endif
|
||||
break;
|
||||
case KEY_DOWN:
|
||||
Key_UP_DOWN(state, -1);
|
||||
break;;
|
||||
#ifdef ENABLE_NAVIG_LEFT_RIGHT
|
||||
Key_UP_DOWN(state, 1);
|
||||
#else
|
||||
Key_UP_DOWN(state, -1);
|
||||
#endif
|
||||
break;
|
||||
case KEY_EXIT:
|
||||
Key_EXIT(state);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user