summaryrefslogtreecommitdiff
path: root/keyboards/shoc/keymaps
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-07-06 18:48:02 +1000
committerGitHub <noreply@github.com>2023-07-06 09:48:02 +0100
commit87b11345a55d076966846d87b60d0f315b8bb984 (patch)
treea64503358d5f30b55a722b882eebaf1b60b03e1f /keyboards/shoc/keymaps
parent928e03e8d669cb35a96c2aa4a09012c527b27892 (diff)
Get rid of `USB_LED_CAPS_LOCK` (#21436)
Diffstat (limited to 'keyboards/shoc/keymaps')
-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);
}