mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Minor correction for checking gFM_ChannelPosition
This commit is contained in:
1 parent
eebeba09db
commit
3d3f370b86
1 file changed
+2
-1
+2
-1
@@ -625,7 +625,8 @@ void FM_Play(void)
|
||||
|
||||
if (gFM_ChannelPosition < FM_CHANNELS_MAX)
|
||||
gFM_Channels[gFM_ChannelPosition++] = gEeprom.FM_FrequencyPlaying;
|
||||
else {
|
||||
|
||||
if (gFM_ChannelPosition >= FM_CHANNELS_MAX) {
|
||||
FM_PlayAndUpdate();
|
||||
|
||||
goto Display;
|
||||
|
||||
Reference in new issue
Block a user