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
48 changed files with 129 additions and 269 deletions

View File

@@ -84,11 +84,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t num = rand() / (RAND_MAX / NUM_ANSWERS + 1);
rgblight_mode(1);
if (num < UNCERTAIN_BREAK) {
rgblight_setrgb_green();
rgblight_setrgb(RGB_GREEN);
} else if (num < NO_BREAK) {
rgblight_setrgb_yellow();
rgblight_setrgb(RGB_YELLOW);
} else {
rgblight_setrgb_red();
rgblight_setrgb(RGB_RED);
}
send_string(ANSWERS[num]);
lastTime = timer_read32();
@@ -135,6 +135,6 @@ void led_set_user(uint8_t usb_led) {
void reset_rgb(void) {
// This gets called on init and after the timeout for the answer color
// If you want to change the default color/mode, do it here
rgblight_sethsv_blue();
rgblight_sethsv(HSV_BLUE);
rgblight_mode(7);
}