mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
Channel delete attribs fix
This commit is contained in:
parent
7e707cf99e
commit
80e3255fb6
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -448,7 +448,8 @@ void SETTINGS_save_chan_attribs_name(const unsigned int channel, const vfo_info_
|
||||
EEPROM_WriteBuffer8(0x0D60 + index, g_user_channel_attributes + index);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (channel <= USER_CHANNEL_LAST)
|
||||
{ // user channel
|
||||
const unsigned int index = channel & ~7ul; // eeprom writes are always 8 bytes in length
|
||||
g_user_channel_attributes[channel] = 0xff;
|
||||
EEPROM_WriteBuffer8(0x0D60 + index, g_user_channel_attributes + index);
|
||||
|
Loading…
x
Reference in New Issue
Block a user