1
0
Fork 0

Rename RGB/HSV structs: keyboard-level code (#24476)

This commit is contained in:
Ryan 2024-10-13 05:00:56 +11:00 committed by GitHub
parent 5478051d74
commit 9884e4982b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 215 additions and 215 deletions

View file

@ -27,7 +27,7 @@ const encodermap_t touch_encoder_map[NUMBER_OF_TOUCH_ENCODERS][TOUCH_ENCODER_OPT
static bool limit_lightning = true;
RGB rgb_matrix_hsv_to_rgb(HSV hsv) {
RGB rgb_matrix_hsv_to_rgb(hsv_t hsv) {
if (limit_lightning) hsv.v /= 2;
return hsv_to_rgb(hsv);
}