Fix #170: ChName saves a name with wrong settings when used in frequency mode

This commit is contained in:
Krzysiek Egzmont committed 2023-12-02 23:06:22 +01:00
1 parent cfa745fda0
commit d944ff4a34
4 files changed
+20 -30

No files matched your search

+2 -6
View File
@@ -501,12 +501,8 @@ void MENU_AcceptSetting(void)
break;
edit[i] = ' ';
}
// save the channel name
memset(gTxVfo->Name, 0, sizeof(gTxVfo->Name));
memmove(gTxVfo->Name, edit, 10);
SETTINGS_SaveChannel(gSubMenuSelection, gEeprom.TX_VFO, gTxVfo, 3);
gFlagReconfigureVfos = true;
SETTINGS_SaveChannelName(gSubMenuSelection, edit);
return;
case MENU_SAVE: