1
0
Fork 0

Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570)

This commit is contained in:
Ryan 2023-12-12 15:30:08 +11:00 committed by GitHub
parent 3c7e9a6827
commit e648155113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 254 additions and 263 deletions

View file

@ -112,7 +112,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} else {
rgblight_timer_disable();
uint8_t val = rgblight_get_val();
rgblight_sethsv_range(255, 255, val, 0, RGBLED_NUM-1);
rgblight_sethsv_range(255, 255, val, 0, RGBLIGHT_LED_COUNT-1);
}
deafened = !deafened;
}