Skip to content

Commit

Permalink
Fix long key press when FM is disabled in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xawen committed Mar 11, 2024
1 parent a7ab13c commit 1672f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions task/keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@ static void HandlerLong(KEY_t Key)
}

bBeep740 = true;
if (!gReceptionMode && (
if (!gReceptionMode
#ifdef ENABLE_FM_RADIO
gFM_Mode == FM_MODE_OFF ||
&& ( gFM_Mode == FM_MODE_OFF || Key == KEY_0 || Key == KEY_HASH || Key == KEY_UP || Key == KEY_DOWN)
#endif
Key == KEY_0 || Key == KEY_HASH || Key == KEY_UP || Key == KEY_DOWN)) {
) {
SCREEN_TurnOn();
if (gScreenMode == SCREEN_MAIN) {
switch (Key) {
Expand Down

0 comments on commit 1672f71

Please sign in to comment.