Skip to content

Commit

Permalink
Fix boot beeps compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
OneOfEleven committed Oct 10, 2023
1 parent e11c0c8 commit d212d44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENABLE_OVERLAY := 0
ENABLE_LTO := 1
ENABLE_UART := 1
ENABLE_UART_DEBUG := 1
ENABLE_AIRCOPY := 0
ENABLE_AIRCOPY := 1
ENABLE_FMRADIO := 1
ENABLE_NOAA := 1
ENABLE_VOICE := 0
Expand All @@ -25,7 +25,7 @@ ENABLE_1250HZ_STEP := 1
ENABLE_TX_WHEN_AM := 0
ENABLE_F_CAL_MENU := 0
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
ENABLE_BOOT_BEEPS := 0
ENABLE_BOOT_BEEPS := 1
ENABLE_SHOW_CHARGE_LEVEL := 0
ENABLE_REVERSE_BAT_SYMBOL := 1
ENABLE_CODE_SCAN_TIMEOUT := 0
Expand Down
3 changes: 2 additions & 1 deletion app/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,7 @@ void APP_CheckKeys(void)
#endif

g_key_prev = key;

APP_ProcessKey(g_key_prev, true, g_key_held);

g_update_status = true;
Expand Down Expand Up @@ -1487,7 +1488,7 @@ void APP_TimeSlice10ms(void)
}

#ifdef ENABLE_BOOT_BEEPS
if (g_boot_counter_10ms > 0 && ((g_boot_counter_10ms % 25) == 0)
if (g_boot_counter_10ms > 0 && (g_boot_counter_10ms % 25) == 0)
AUDIO_PlayBeep(BEEP_880HZ_40MS_OPTIONAL);
#endif

Expand Down
Binary file modified firmware.bin
Binary file not shown.
Binary file modified firmware.packed.bin
Binary file not shown.

0 comments on commit d212d44

Please sign in to comment.