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

Temporary remove dev container

This commit is contained in:
OneOfEleven
2023-10-11 23:42:50 +01:00
parent 00f5d77e5a
commit ceee3e2968
4 changed files with 2 additions and 44 deletions

View File

@ -576,7 +576,7 @@ static void FM_Key_UP_DOWN(bool key_pressed, bool key_held, int8_t Step)
}
if (g_eeprom.fm_is_channel_mode)
{
{ // we're in channel mode
const uint8_t Channel = FM_FindNextChannel(g_eeprom.fm_selected_channel + Step, Step);
if (Channel == 0xFF || g_eeprom.fm_selected_channel == Channel)
goto Bail;
@ -585,7 +585,7 @@ static void FM_Key_UP_DOWN(bool key_pressed, bool key_held, int8_t Step)
g_eeprom.fm_frequency_playing = g_fm_channels[Channel];
}
else
{
{ // no, frequency mode
uint16_t Frequency = g_eeprom.fm_selected_frequency + Step;
if (Frequency < g_eeprom.fm_lower_limit)
Frequency = g_eeprom.fm_upper_limit;