From 33084aef98a24615aa4886feb9e3139ddf6f4589 Mon Sep 17 00:00:00 2001 From: Dual Tachyon Date: Fri, 29 Sep 2023 11:49:47 +0100 Subject: [PATCH] Use 0 for channel name to fix CPS display. --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index 9c60d351..3ab73ad9 100644 --- a/settings.c +++ b/settings.c @@ -230,7 +230,7 @@ void SETTINGS_SaveChannel(uint8_t Channel, uint8_t VFO, const VFO_Info_t *pVFO, SETTINGS_UpdateChannel(Channel, pVFO, true); if (IS_MR_CHANNEL(Channel)) { - memset(&State32, 0xFF, sizeof(State32)); + memset(&State32, 0x00, sizeof(State32)); EEPROM_WriteBuffer(OffsetMR + 0x0F50, State32); EEPROM_WriteBuffer(OffsetMR + 0x0F58, State32); }