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

@ -143,10 +143,8 @@ void matrix_init_kb(void) {
matrix_init_user();
}
void matrix_scan_kb(void) {
void housekeeping_task_kb(void) {
usb_mux_event();
matrix_scan_user();
}
#define LEVEL(value) (uint8_t)(((uint16_t)value) * ((uint16_t)RGB_MATRIX_MAXIMUM_BRIGHTNESS) / ((uint16_t)255))