Get rid of USB_LED_CAPS_LOCK
(#21436)
This commit is contained in:
parent
928e03e8d6
commit
87b11345a5
70 changed files with 214 additions and 226 deletions
|
@ -100,13 +100,14 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
return state;
|
||||
}
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
||||
bool led_update_user(led_t led_state) {
|
||||
if (led_state.caps_lock) {
|
||||
CAPS = 1;
|
||||
}
|
||||
else {
|
||||
CAPS = 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void togg_indicator(uint8_t *state, uint8_t pin) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue