mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-04 12:07:24 +00:00
Add UI_PrintStringYOffset to shift big-font
This commit is contained in:
1 parent
2f0852cd03
commit
d5edba1fc2
3 files changed
+46
-3
No files matched your search
+5
-3
@@ -1597,7 +1597,8 @@ void UI_DisplayMain(void)
|
||||
|
||||
case MDF_CHANNEL: // show the channel number
|
||||
sprintf(String, "CH-%04u", gEeprom.ScreenChannel[vfo_num] + 1);
|
||||
UI_PrintString(String, 36, 0, line, 8);
|
||||
//UI_PrintString(String, 36, 0, line, 8);
|
||||
UI_PrintStringYOffset(String, 36, 0, line, 8, 3);
|
||||
break;
|
||||
|
||||
case MDF_NAME: // show the channel name
|
||||
@@ -1611,14 +1612,15 @@ void UI_DisplayMain(void)
|
||||
|
||||
if (gEeprom.CHANNEL_DISPLAY_MODE == MDF_NAME) {
|
||||
String[10] = 0;
|
||||
UI_PrintString(String, 33, 0, line, 8);
|
||||
UI_PrintStringYOffset(String, 33, 0, line, 8, 3);
|
||||
}
|
||||
else {
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
if (isMainOnly())
|
||||
{
|
||||
String[10] = 0;
|
||||
UI_PrintString(String, 33, 0, line, 8);
|
||||
//UI_PrintString(String, 33, 0, line, 8);
|
||||
UI_PrintStringYOffset(String, 33, 0, line, 8, 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user