Преглед изворни кода

Fix compile error in VLC keymap for Anavi Macropad8 (#22644)

Marc Nause пре 2 година
родитељ
комит
7ae0f7caf1
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      keyboards/anavi/macropad8/keymaps/vlc/keymap.c

+ 3 - 2
keyboards/anavi/macropad8/keymaps/vlc/keymap.c

@@ -56,7 +56,7 @@ const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {20, 10, 4};
  * Alt + left arrow      - Jump 10 seconds back
  * Control + left arrow  - Jump 1 minute back
  *
-  * - Layer for VLC DVD hotkeys:
+ * - Layer for VLC DVD hotkeys:
  * Shift + M             - Disc menu
  * Arrow up              - Navigate menu (up)
  * Enter                 - Select menu entry
@@ -93,7 +93,7 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
     return OLED_ROTATION_180;  // flips the display 180 degrees if offhand
 }
 
-void oled_task_user(void) {
+bool oled_task_user(void) {
   // Host Keyboard Layer Status
   oled_write_ln_P(PSTR("ANAVI Macro Pad 8"), false);
   oled_write_P(PSTR("Layer: "), false);
@@ -134,5 +134,6 @@ void oled_task_user(void) {
   snprintf(rgbStatusLine2, sizeof(rgbStatusLine2), "h:%d s:%d v:%d", rgblight_get_hue(), rgblight_get_sat(), rgblight_get_val());
   oled_write_ln(rgbStatusLine2, false);
 #endif
+    return false;
 }
 #endif