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

Restored keep channel name when (re)saving a channel

This commit is contained in:
OneOfEleven
2023-09-20 14:23:14 +01:00
parent 7582bec615
commit b54b8ba638
5 changed files with 9 additions and 7 deletions

View File

@ -500,7 +500,7 @@ void MENU_AcceptSetting(void)
// save the channel name
memset(gTxVfo->Name, 0xff, sizeof(gTxVfo->Name));
memmove(gTxVfo->Name, edit, 10);
SETTINGS_SaveChannel(gSubMenuSelection, gEeprom.TX_CHANNEL, gTxVfo, 2);
SETTINGS_SaveChannel(gSubMenuSelection, gEeprom.TX_CHANNEL, gTxVfo, 3);
gFlagReconfigureVfos = true;
return;