0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-05-19 16:31:19 +03:00

fix frequency mode channel number

This commit is contained in:
OneOfEleven 2023-10-20 14:55:02 +01:00
parent a77d8d3710
commit b7f5784946
3 changed files with 5 additions and 1 deletions

View File

@ -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 // 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) if (new_band != old_band)
{ // original slow method { // original slow method

Binary file not shown.

Binary file not shown.