0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

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

@ -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;
}
}