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

Channel menu items show channel name

This commit is contained in:
OneOfEleven
2023-09-09 13:58:21 +01:00
parent 2dd6791f7a
commit 0c17c658c1
8 changed files with 76 additions and 34 deletions

View File

@ -21,7 +21,7 @@
#include "ui/helper.h"
#include "ui/inputbox.h"
void UI_GenerateChannelString(char *pString, uint8_t Channel)
void UI_GenerateChannelString(char *pString, const uint8_t Channel)
{
unsigned int i;
@ -38,7 +38,7 @@ void UI_GenerateChannelString(char *pString, uint8_t Channel)
pString[i + 3] = (gInputBox[i] == 10) ? '-' : gInputBox[i] + '0';
}
void UI_GenerateChannelStringEx(char *pString, bool bShowPrefix, uint8_t ChannelNumber)
void UI_GenerateChannelStringEx(char *pString, const bool bShowPrefix, const uint8_t ChannelNumber)
{
if (gInputBoxIndex)
{