commit f879fbfb6d52c3d106904b876a11bb1983b0c06a parent 742d1a8b8e37dd26b5ece2d1220810372fff1939 Author: Drashna Jaelre <drashna@live.com> Date: Thu, 11 Nov 2021 08:56:35 -0800 [Keyboard] Fix compilation issues for Lime (#15116) Diffstat:
| M | keyboards/lime/keymaps/default/keymap.c | | | 3 | ++- |
| M | keyboards/lime/keymaps/default/rules.mk | | | 2 | ++ |
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/keyboards/lime/keymaps/default/keymap.c b/keyboards/lime/keymaps/default/keymap.c @@ -463,7 +463,7 @@ bool showedJump = true; return OLED_ROTATION_270; } - void oled_task_user(void) { + bool oled_task_user(void) { /* Keyboard Pet Variables */ current_wpm = get_current_wpm(); @@ -474,6 +474,7 @@ bool showedJump = true; } else { print_logo_narrow(); } + return false; } #endif diff --git a/keyboards/lime/keymaps/default/rules.mk b/keyboards/lime/keymaps/default/rules.mk @@ -4,4 +4,6 @@ JOYSTICK_ENABLE = yes JOYSTICK_DRIVER = analog EXTRAKEY_ENABLE = yes WPM_ENABLE = yes +LTO_ENABLE = yes + SRC += analog.c