1
0
Fork 0

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:
Ryan 2022-10-28 09:50:14 +11:00 committed by GitHub
parent a96a9fd5f8
commit 7407347be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 129 additions and 269 deletions

View file

@ -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
}