Migrate led_update_kb implementations to DD (#23983)

This commit is contained in:
Joel Challis 2024-06-22 12:14:17 +01:00 committed by GitHub
parent 17498fa48a
commit 7824e7ed9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 111 additions and 660 deletions

View file

@ -22,6 +22,9 @@
"resync": true
}
},
"indicators": {
"caps_lock": "C6"
},
"matrix_pins": {
"cols": ["B3", "B2", "B1", "F7"],
"rows": ["F0", "F1", "F4", "F5", "F6"]

View file

@ -63,12 +63,3 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user_oled(keycode, record);
}
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if (res) {
gpio_write_pin(C6, led_state.num_lock);
}
return true;
}