Migrate led_update_kb implementations to DD (#23981)
This commit is contained in:
parent
cb39df273d
commit
17498fa48a
45 changed files with 94 additions and 658 deletions
|
|
@ -52,16 +52,3 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
gpio_set_pin_output(F0);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
if (led_update_user(led_state)) {
|
||||
gpio_write_pin(F0, led_state.caps_lock);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue