summaryrefslogtreecommitdiffstats
path: root/keyboards/shoc
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/shoc')
-rw-r--r--keyboards/shoc/keymaps/bongo/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/shoc/keymaps/bongo/keymap.c b/keyboards/shoc/keymaps/bongo/keymap.c
index 14779f1d75..8f57181330 100644
--- a/keyboards/shoc/keymaps/bongo/keymap.c
+++ b/keyboards/shoc/keymaps/bongo/keymap.c
@@ -163,7 +163,7 @@ bool oled_task_user(void) {
oled_set_cursor(0,6);
oled_write_P(PSTR(" WPM: "), false);
oled_write(get_u8_str(get_current_wpm(), '0'), false);
- if(host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)){
+ if(host_keyboard_led_state().caps_lock){
oled_set_cursor(0,5);
oled_write_P(PSTR(" CAPS LOCK"), false);
}