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

master
Marc Nause 2023-12-12 04:02:28 +01:00 committed by GitHub
parent e6b53af38e
commit 7ae0f7caf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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 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 // Host Keyboard Layer Status
oled_write_ln_P(PSTR("ANAVI Macro Pad 8"), false); oled_write_ln_P(PSTR("ANAVI Macro Pad 8"), false);
oled_write_P(PSTR("Layer: "), 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()); snprintf(rgbStatusLine2, sizeof(rgbStatusLine2), "h:%d s:%d v:%d", rgblight_get_hue(), rgblight_get_sat(), rgblight_get_val());
oled_write_ln(rgbStatusLine2, false); oled_write_ln(rgbStatusLine2, false);
#endif #endif
return false;
} }
#endif #endif