Removed constant printing of cleared mm
This commit is contained in:
parent
24da8002d8
commit
6f76c5a5b0
21
code/main.c
21
code/main.c
@ -873,6 +873,24 @@ void print_mm()
|
||||
x += (CHAR_SIZE + 1) * 2;
|
||||
}
|
||||
|
||||
// Print/clear 'mm'
|
||||
if (old_highlight != count_highlight)
|
||||
{
|
||||
if (0xFF == count_highlight)
|
||||
{
|
||||
symbol = 0xFF;
|
||||
}
|
||||
else
|
||||
{
|
||||
symbol = CHAR_m;
|
||||
}
|
||||
|
||||
print_symbol(symbol, x, y, 0);
|
||||
x += (CHAR_SIZE + 1) * 2;
|
||||
print_symbol(symbol, x, y, 0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Print 'mm' (only after clear)
|
||||
if ((0xFF == old_highlight) && (0xFF != count_highlight))
|
||||
{
|
||||
@ -888,6 +906,7 @@ void print_mm()
|
||||
x += (CHAR_SIZE + 1) * 2;
|
||||
print_symbol(0xFF, x, y, 0);
|
||||
}
|
||||
#endif
|
||||
old_highlight = count_highlight;
|
||||
}
|
||||
|
||||
@ -997,7 +1016,7 @@ void print_option(uint8_t option)
|
||||
|
||||
void print_battery_icon()
|
||||
{
|
||||
#if 1
|
||||
#if 0
|
||||
uint32_t idx = (uint32_t) eeprom_idx;
|
||||
|
||||
if (eeprom_idx >= 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user