summaryrefslogtreecommitdiff
path: root/keyboards/0xcb/1337/keymaps/via/keymap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-07-21 15:36:02 +0000
committerQMK Bot <hello@qmk.fm>2021-07-21 15:36:02 +0000
commitdf37ce4ea2f1aec00f688de426b15e210021e2c8 (patch)
treeb067f62f3acd209f9745c2c895f96cf5ac1b867d /keyboards/0xcb/1337/keymaps/via/keymap.c
parent531886b9842caf5e0235a2cca511074b1d08b217 (diff)
parentafc629210c75158ef036cf3fd906b376034cce8b (diff)
Merge remote-tracking branch 'origin/master' into develop
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();
}
}