mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
Keylock can be disabled to save 400 bytes.
This commit is contained in:
@ -178,6 +178,7 @@ void UI_DisplayStatus(const bool test_display)
|
||||
x += sizeof(BITMAP_VOX);
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_KEYLOCK
|
||||
// KEY-LOCK indicator
|
||||
if (g_eeprom.key_lock || test_display)
|
||||
{
|
||||
@ -186,6 +187,7 @@ void UI_DisplayStatus(const bool test_display)
|
||||
x1 = x;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (g_fkey_pressed)
|
||||
{
|
||||
memmove(line + x, BITMAP_F_KEY, sizeof(BITMAP_F_KEY));
|
||||
|
Reference in New Issue
Block a user