change channel name display code

This commit is contained in:
phdlee 2018-02-05 16:46:37 +09:00
parent 57cd385b8a
commit 14888bb7d7
1 changed files with 3 additions and 1 deletions

View File

@ -394,10 +394,12 @@ void menuCHMemory(int btn, byte isMemoryToVfo){
resultFreq = resultFreq & 0x1FFFFFFF; resultFreq = resultFreq & 0x1FFFFFFF;
//display channel description //display channel description
if (selectChannel < 10 && EEPROM.read(CHANNEL_DESC + 6 * selectChannel) == 0x33) { //0x33 is display Chnnel Name if (selectChannel < 10 && EEPROM.read(CHANNEL_DESC + 6 * selectChannel) == 0x03) { //0x03 is display Chnnel Name
//display Channel Name //display Channel Name
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
c[i] = EEPROM.read(CHANNEL_DESC + 6 * selectChannel + i + 1); c[i] = EEPROM.read(CHANNEL_DESC + 6 * selectChannel + i + 1);
c[5] = ':';
} }
else { else {
//Display frequency //Display frequency