diff --git a/app/menu.c b/app/menu.c index 0892870..a22f6fe 100644 --- a/app/menu.c +++ b/app/menu.c @@ -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; diff --git a/firmware.bin b/firmware.bin index 1370533..369d702 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 6aeb2fc..45d7935 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/radio.c b/radio.c index 8d90251..b86cf40 100644 --- a/radio.c +++ b/radio.c @@ -391,7 +391,7 @@ void RADIO_ConfigureChannel(const unsigned int VFO, const unsigned int configure memset(gEeprom.VfoInfo[VFO].Name, 0, sizeof(gEeprom.VfoInfo[VFO].Name)); if (IS_MR_CHANNEL(Channel)) - { // 16 bytes allocated to the channel name but only 10 used + { // 16 bytes allocated to the channel name but only 10 used, the rest are 0's EEPROM_ReadBuffer(0x0F50 + (Channel * 16), gEeprom.VfoInfo[VFO].Name + 0, 8); EEPROM_ReadBuffer(0x0F58 + (Channel * 16), gEeprom.VfoInfo[VFO].Name + 8, 2); } @@ -417,7 +417,7 @@ void RADIO_ConfigureChannel(const unsigned int VFO, const unsigned int configure if (gEeprom.VfoInfo[VFO].AM_mode) { // freq/chan is in AM mode gEeprom.VfoInfo[VFO].SCRAMBLING_TYPE = 0; - gEeprom.VfoInfo[VFO].DTMF_DECODING_ENABLE = false; // no reason to disable DTMF decoding, aircraft use DTMF on SSB + gEeprom.VfoInfo[VFO].DTMF_DECODING_ENABLE = false; // no reason to disable DTMF decoding, aircraft use it on SSB gEeprom.VfoInfo[VFO].freq_config_RX.CodeType = CODE_TYPE_OFF; gEeprom.VfoInfo[VFO].freq_config_TX.CodeType = CODE_TYPE_OFF; }