summaryrefslogtreecommitdiffstats
path: root/keyboards/0xcb/1337/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-07-22 01:35:10 +1000
committerGitHub <noreply@github.com>2021-07-21 08:35:10 -0700
commitafc629210c75158ef036cf3fd906b376034cce8b (patch)
treef6cc30a748a2a14ef78896d6ee88b5bd60967436 /keyboards/0xcb/1337/keymaps/via/keymap.c
parentec1a6f6b8b458176ef0dfca2ebf91d8d88c107aa (diff)
[Bug] VIA compile fixes (#13626)
Diffstat (limited to 'keyboards/0xcb/1337/keymaps/via/keymap.c')
-rw-r--r--keyboards/0xcb/1337/keymaps/via/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/0xcb/1337/keymaps/via/keymap.c b/keyboards/0xcb/1337/keymaps/via/keymap.c
index 5c231298cd..897bfdeda9 100644
--- a/keyboards/0xcb/1337/keymaps/via/keymap.c
+++ b/keyboards/0xcb/1337/keymaps/via/keymap.c
@@ -132,7 +132,7 @@ static void render_info(void) {
oled_write_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false);
oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
}
-static void render_rgbled_status(bool) {
+static void render_rgbled_status(void) {
char string[4];
if (RGBLIGHT_MODES > 1 && rgblight_is_enabled() && get_highest_layer(layer_state) == _RGB) {
uint16_t m = rgblight_get_mode();
@@ -178,7 +178,7 @@ void oled_task_user(void) {
finished_timer = true;
}
render_info();
- render_rgbled_status(true);
+ render_rgbled_status();
render_logo_font();
}
}