0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

reduce FM radio compile size if only 1 band used

This commit is contained in:
OneOfEleven
2023-10-30 12:31:36 +00:00
parent c03ac606f1
commit 9a7e03ced5
7 changed files with 58 additions and 44 deletions

View File

@ -706,6 +706,7 @@ void FM_Start(void)
g_fm_scan_state = FM_SCAN_OFF;
g_fm_restore_tick_10ms = 0;
// enable the FM radio chip and audio
BK1080_Init(g_eeprom.fm_frequency_playing, true);
g_speaker_enabled = true;