mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
fix frequency mode channel number
This commit is contained in:
@ -913,7 +913,11 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t Directio
|
||||
//
|
||||
// TODO: include this once we have the entire eeprom loaded
|
||||
//
|
||||
//g_tx_vfo->frequency_channel = BOARD_find_channel(frequency);
|
||||
if (!key_held && key_pressed)
|
||||
g_tx_vfo->frequency_channel = BOARD_find_channel(frequency);
|
||||
else
|
||||
if (key_held && key_pressed)
|
||||
g_tx_vfo->frequency_channel = 0xff;
|
||||
|
||||
if (new_band != old_band)
|
||||
{ // original slow method
|
||||
|
Reference in New Issue
Block a user