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

Added brickies editings, fixed a couple of warnings.

This commit is contained in:
OneOfEleven
2023-10-09 23:13:34 +01:00
parent c76891be6d
commit 44f90a20b4
9 changed files with 27 additions and 11 deletions

View File

@ -747,7 +747,7 @@ static void USER_NextChannel(void)
#ifdef ENABLE_NOAA
static void NOAA_IncreaseChannel(void)
{
if (++g_noaa_channel > 9)
if (++g_noaa_channel >= ARRAY_SIZE(NoaaFrequencyTable))
g_noaa_channel = 0;
}
#endif