From 7ae0f7caf1fecd9eddf959e3283b8fa577043eca Mon Sep 17 00:00:00 2001 From: Marc Nause Date: Tue, 12 Dec 2023 04:02:28 +0100 Subject: [PATCH] Fix compile error in VLC keymap for Anavi Macropad8 (#22644) --- keyboards/anavi/macropad8/keymaps/vlc/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keyboards/anavi/macropad8/keymaps/vlc/keymap.c b/keyboards/anavi/macropad8/keymaps/vlc/keymap.c index 3e15a81861..3ea53c57cb 100644 --- a/keyboards/anavi/macropad8/keymaps/vlc/keymap.c +++ b/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