mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
Keylock can be disabled to save 400 bytes.
This commit is contained in:
@ -34,6 +34,7 @@ void UI_DisplayFM(void)
|
||||
|
||||
memset(g_frame_buffer, 0, sizeof(g_frame_buffer));
|
||||
|
||||
#ifdef ENABLE_KEYLOCK
|
||||
if (g_eeprom.key_lock && g_keypad_locked > 0)
|
||||
{ // tell user how to unlock the keyboard
|
||||
backlight_turn_on(0);
|
||||
@ -42,6 +43,7 @@ void UI_DisplayFM(void)
|
||||
ST7565_BlitFullScreen();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// *************************************
|
||||
// upper text line
|
||||
|
Reference in New Issue
Block a user