summaryrefslogtreecommitdiffstats
path: root/keyboards/lime/keymaps/default
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-11 08:56:35 -0800
committerGitHub <noreply@github.com>2021-11-11 08:56:35 -0800
commitf879fbfb6d52c3d106904b876a11bb1983b0c06a (patch)
tree78f8458af600d9671efc6b6f9bf3eff2887ccede /keyboards/lime/keymaps/default
parent742d1a8b8e37dd26b5ece2d1220810372fff1939 (diff)
[Keyboard] Fix compilation issues for Lime (#15116)
Diffstat (limited to 'keyboards/lime/keymaps/default')
-rw-r--r--keyboards/lime/keymaps/default/keymap.c3
-rw-r--r--keyboards/lime/keymaps/default/rules.mk2
2 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/lime/keymaps/default/keymap.c b/keyboards/lime/keymaps/default/keymap.c
index f6c711597d..2d904d36db 100644
--- 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
index cc5b7ac9aa..b4572ce79a 100644
--- 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