0
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:
cloudwindy
2023-10-20 21:40:17 +08:00
parent 989f8cb56e
commit a81ecadfe1
19 changed files with 113 additions and 41 deletions

View File

@ -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