Move name/freq to right 4 pixels

This commit is contained in:
OneOfEleven 2023-09-19 15:54:37 +01:00
parent 2fe546accd
commit 30d6f3b371
6 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
ENABLE_MAIN_KEY_HOLD := 1
ENABLE_BOOT_BEEPS := 0
ENABLE_COMPANDER := 1
ENABLE_SHOW_CHARGE_LEVEL := 1
ENABLE_SHOW_CHARGE_LEVEL := 0
ENABLE_REVERSE_BAT_SYMBOL := 1
ENABLE_STATUSBAR_VOLTAGE := 0
ENABLE_STATUSBAR_PERCENTAGE := 1

View File

@ -31,7 +31,7 @@ ENABLE_COMPANDER := 1 compander option - setting not yet save
ENABLE_SHOW_CHARGE_LEVEL := 1 show the charge level when the radio is on charge
ENABLE_REVERSE_BAT_SYMBOL := 1 mirror the battery symbol on the status bar (+ pole on the right)
ENABLE_STATUSBAR_VOLTAGE := 0 show the battery voltage on the top status bar - when possible
ENABLE_STATUSBAR_PERCENTAGE := 1 show the battery percentage on the top status bar - when possible
ENABLE_STATUSBAR_PERCENTAGE := 1 or show the battery percentage on the top status bar - when possible
#ENABLE_SINGLE_VFO_CHAN := 1 not yet implemented - single VFO on display when possible
#ENABLE_BAND_SCOPE := 1 not yet implemented - spectrum/pan-adapter
```

BIN
firmware

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -306,11 +306,11 @@ void UI_DisplayMain(void)
memset(String, 0, sizeof(String));
memmove(String, gEeprom.VfoInfo[vfo_num].Name, 10);
}
UI_PrintStringSmall(String, 32, 0, Line);
UI_PrintStringSmall(String, 32 + 4, 0, Line);
// show the channel frequency below the channel number/name
sprintf(String, "%03u.%05u", frequency / 100000, frequency % 100000);
UI_PrintStringSmall(String, 32, 0, Line + 1);
UI_PrintStringSmall(String, 32 + 4, 0, Line + 1);
break;
}
}