Remove rgblight_list.h (#18878)
* Remove rgblight_list defines with no usage * Remove rgblight_setrgb_*[_at] defines * Remove rgblight_sethsv_* defines * Remove rgblight_sethsv_noeeprom_* defines * Delete rgblight_list.h and remove all references
This commit is contained in:
@@ -37,9 +37,9 @@ void keyboard_post_init_user(void) {
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
|
||||
rgblight_sethsv_noeeprom_cyan();
|
||||
rgblight_sethsv_noeeprom(HSV_CYAN);
|
||||
} else {
|
||||
rgblight_sethsv_noeeprom_magenta();
|
||||
rgblight_sethsv_noeeprom(HSV_MAGENTA);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,6 +47,6 @@ void shutdown_user (void) {
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
|
||||
rgblight_setrgb_red();
|
||||
rgblight_setrgb(RGB_RED);
|
||||
#endif // RGBLIGHT_ENABLE
|
||||
}
|
||||
|
Reference in New Issue
Block a user