mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
fix bold flag compile bug
This commit is contained in:
parent
6a84ee1d79
commit
d6c51edf62
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -761,7 +761,10 @@ const char *state_list[] = {"", "BUSY", "BAT LOW", "TX DISABLE", "TIMEOUT", "ALA
|
|||||||
x += 7 * 5;
|
x += 7 * 5;
|
||||||
|
|
||||||
{ // RX or TX or state message
|
{ // RX or TX or state message
|
||||||
bool bold = true;
|
#ifdef ENABLE_SMALL_BOLD
|
||||||
|
bool bold = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
str[0] = 0;
|
str[0] = 0;
|
||||||
if (g_current_function == FUNCTION_TRANSMIT)
|
if (g_current_function == FUNCTION_TRANSMIT)
|
||||||
strcpy(str, "TX");
|
strcpy(str, "TX");
|
||||||
@ -772,7 +775,9 @@ const char *state_list[] = {"", "BUSY", "BAT LOW", "TX DISABLE", "TIMEOUT", "ALA
|
|||||||
{
|
{
|
||||||
const unsigned int squelch_level = (p_vfo->channel.squelch_level > 0) ? p_vfo->channel.squelch_level : g_eeprom.config.setting.squelch_level;
|
const unsigned int squelch_level = (p_vfo->channel.squelch_level > 0) ? p_vfo->channel.squelch_level : g_eeprom.config.setting.squelch_level;
|
||||||
sprintf(str, "Q%u", squelch_level);
|
sprintf(str, "Q%u", squelch_level);
|
||||||
bold = false;
|
#ifdef ENABLE_SMALL_BOLD
|
||||||
|
bold = false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_SMALL_BOLD
|
#ifdef ENABLE_SMALL_BOLD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user