Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Use 0 for channel name to fix CPS display.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dual Tachyon authored and Dual Tachyon committed Oct 6, 2023
1 parent 357df94 commit bc8b73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bc8b73f

Please sign in to comment.