Migrate led_update_kb implementations to DD (#23981)

This commit is contained in:
Joel Challis 2024-06-22 12:14:07 +01:00 committed by GitHub
parent cb39df273d
commit 17498fa48a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 94 additions and 658 deletions

View file

@ -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;
}