From 7407347be1df69928d27ea9b6a4fe094429f2a55 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 28 Oct 2022 09:50:14 +1100 Subject: 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 --- keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/woodkeys/bigseries/1key/keymaps') diff --git a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c b/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c index 33a5428fe4..500fddd53f 100755 --- a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c +++ b/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c @@ -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); } -- cgit v1.2.3