mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-05-19 08:21:18 +03:00
fix frequency mode channel number
This commit is contained in:
parent
a77d8d3710
commit
b7f5784946
@ -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
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user