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

Fix channel name padding byte to 0x00

This commit is contained in:
OneOfEleven
2023-09-28 23:42:57 +01:00
parent 8ce02a37a9
commit 895d83e9bc
4 changed files with 3 additions and 3 deletions

View File

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