summaryrefslogtreecommitdiff
path: root/keyboards/owlab/spring/spring.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/owlab/spring/spring.c')
-rw-r--r--keyboards/owlab/spring/spring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/owlab/spring/spring.c b/keyboards/owlab/spring/spring.c
index 8088fb03c2..13280ff9b3 100644
--- a/keyboards/owlab/spring/spring.c
+++ b/keyboards/owlab/spring/spring.c
@@ -108,7 +108,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
case KC_CAPS:
- if(IS_LED_ON(host_keyboard_leds(), USB_LED_CAPS_LOCK)){
+ if(host_keyboard_led_state().caps_lock){
caps_mode_index = CAPS_MODE_LOWER;
} else{
caps_mode_index = CAPS_MODE_UPPER;