summaryrefslogtreecommitdiff
path: root/users/greatwizard
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-28 09:50:14 +1100
committerGitHub <noreply@github.com>2022-10-27 23:50:14 +0100
commit7407347be1df69928d27ea9b6a4fe094429f2a55 (patch)
treee511be10ad74c60b54ce1839cbf3db767466275a /users/greatwizard
parenta96a9fd5f8d1db141bc4d5083b63267aac035adf (diff)
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
Diffstat (limited to 'users/greatwizard')
-rw-r--r--users/greatwizard/underglow.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/users/greatwizard/underglow.c b/users/greatwizard/underglow.c
index db31290acd..c23fb5bc51 100644
--- a/users/greatwizard/underglow.c
+++ b/users/greatwizard/underglow.c
@@ -22,7 +22,7 @@ void keyboard_post_init_rgb(void) {
return;
}
rgblight_enable_noeeprom();
- rgblight_sethsv_noeeprom_orange();
+ rgblight_sethsv_noeeprom(HSV_ORANGE);
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
}
@@ -64,31 +64,31 @@ layer_state_t layer_state_set_rgb(layer_state_t state) {
#ifdef LAYERS_PROGRAMMER
case _PROGRAMMER_SHIFTED:
#endif
- rgblight_sethsv_noeeprom_orange();
+ rgblight_sethsv_noeeprom(HSV_ORANGE);
break;
#ifdef LAYERS_ORTHO
case _LOWER:
- rgblight_sethsv_noeeprom_red();
+ rgblight_sethsv_noeeprom(HSV_RED);
break;
case _RAISE:
- rgblight_sethsv_noeeprom_blue();
+ rgblight_sethsv_noeeprom(HSV_BLUE);
break;
case _ADJUST:
- rgblight_sethsv_noeeprom_purple();
+ rgblight_sethsv_noeeprom(HSV_PURPLE);
break;
#endif
#ifdef LAYER_FN
case _FN:
- rgblight_sethsv_noeeprom_chartreuse();
+ rgblight_sethsv_noeeprom(HSV_CHARTREUSE);
break;
#endif
#ifdef LAYER_GIT
case _GIT:
- rgblight_sethsv_noeeprom_teal();
+ rgblight_sethsv_noeeprom(HSV_TEAL);
break;
#endif
default:
- rgblight_sethsv_noeeprom_white();
+ rgblight_sethsv_noeeprom(HSV_WHITE);
break;
}
return state;