Skip to content

Commit

Permalink
Remove IS_HOST_LED_ON and migrate usages (qmk#19753)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpskenn committed Nov 2, 2023
1 parent 862ffa0 commit cdedf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/sandy/v01/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ layer_state_t default_layer_state_set_user(layer_state_t state) {
}

bool led_update_user(led_t led_state) {
rgblight_set_layer_state(3, IS_HOST_LED_ON(USB_LED_CAPS_LOCK));
rgblight_set_layer_state(3, host_keyboard_led_state().caps_lock);

return true;
}
Expand Down

0 comments on commit cdedf58

Please sign in to comment.