Refactor use of matrix_scan_kb (#24200)

This commit is contained in:
Joel Challis 2024-07-27 06:02:51 +01:00 committed by GitHub
parent 20ae67ba01
commit 02b43b4b60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 20 additions and 164 deletions

View file

@ -740,8 +740,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
}
void matrix_scan_kb(void) {
matrix_scan_user();
void housekeeping_task_kb(void) {
led_t current_led_state = host_keyboard_led_state();
uint8_t current_layer = get_highest_layer(layer_state);
if (startup_delay) {