0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 15:08:37 +03:00

Updated AIRCOPY + fixed F+4 save to VFO

This commit is contained in:
OneOfEleven
2023-10-12 22:48:48 +01:00
parent d1c9d184d0
commit 55ceb92a61
13 changed files with 452 additions and 176 deletions

View File

@ -980,13 +980,33 @@ void UI_DisplayMenu(void)
i = 0;
while (i < (sizeof(String) - 1) && k < slen)
{
String[i++] = Version_str[k++];
if (++m >= 9 && k < slen && i < (sizeof(String) - 1))
const char c = Version_str[k++];
if (c == ' ' || c == '-' || c == '_')
{
m = 0;
String[i++] = '\n';
if (m >= 3)
{
String[i++] = '\n';
m = 0;
}
else
String[i++] = c;
}
else
{
String[i++] = c;
if (++m >= 9 && k < slen && i < (sizeof(String) - 1))
{
if (m > 0)
{
m = 0;
String[i++] = '\n';
}
}
}
}
// add the date and time
strcat(String, "\n" __DATE__);
strcat(String, "\n" __TIME__);
break;
}