Browse Source

[Keyboard] Fix compilation issues for Lime (#15116)

Drashna Jaelre 4 years ago
parent
commit
f879fbfb6d

+ 2 - 1
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

+ 2 - 0
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