summaryrefslogtreecommitdiffstats
path: root/users/csc027/custom_rgb.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-08-07 19:40:49 +0000
committerQMK Bot <hello@qmk.fm>2022-08-07 19:40:49 +0000
commit6a1a3986270b0b0af510f957aedede61e895f972 (patch)
treeec28f63737103c2a02c231cff6254416901838d5 /users/csc027/custom_rgb.c
parent67461a0a472fa1c9d589845f9cfe36c8d354e60c (diff)
parent4267f0e0d4b4fb4d4954405d156ebe6c50de48b1 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/csc027/custom_rgb.c')
-rw-r--r--users/csc027/custom_rgb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/csc027/custom_rgb.c b/users/csc027/custom_rgb.c
index 1d3232d72c..657d40d7af 100644
--- a/users/csc027/custom_rgb.c
+++ b/users/csc027/custom_rgb.c
@@ -28,15 +28,15 @@ void keyboard_post_init_user(void) {
rgblight_sethsv_noeeprom((i + user_hue) % 256, 255, 255);
wait_ms(5);
}
- rgblight_sethsv_noeeprom(0, 0, 0);
+ rgblight_sethsv_noeeprom(HSV_BLACK);
}
void on_usb_led_off(void) {
- rgblight_sethsv_noeeprom(0, 0, rgblight_get_val() - 85);
+ rgblight_sethsv_noeeprom(HS_GRAY, rgblight_get_val() - 85);
}
void on_usb_led_on(void) {
- rgblight_sethsv_noeeprom(0, 0, rgblight_get_val() + 85);
+ rgblight_sethsv_noeeprom(HS_GRAY, rgblight_get_val() + 85);
}
#endif