1
0
Fork 0

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

@ -76,7 +76,7 @@ void set_caps_mode(uint8_t mode){
}
void matrix_scan_kb(void) {
void housekeeping_task_kb(void) {
if(caps_in){
if(timer_elapsed32(caps_timer) > 3000){
rgblight_sethsv(pre_rgb.hue, pre_rgb.sat, pre_rgb.val);
@ -84,8 +84,6 @@ void matrix_scan_kb(void) {
caps_in = false;
}
}
matrix_scan_user();
}