aboutsummaryrefslogtreecommitdiff
path: root/keyboards/neson_design/n6
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-10-13 05:00:56 +1100
committerGitHub <[email protected]>2024-10-12 19:00:56 +0100
commit9884e4982be942a98cf5bca9360d20cc3fca3e9d (patch)
tree2ec0af3864f1839a8896b25090f8fa7024394fdc /keyboards/neson_design/n6
parent5478051d7470efb32783b1c4080a2c3f24ce3c24 (diff)
downloadqmk_firmware-9884e4982be942a98cf5bca9360d20cc3fca3e9d.tar.gz
qmk_firmware-9884e4982be942a98cf5bca9360d20cc3fca3e9d.zip
Rename RGB/HSV structs: keyboard-level code (#24476)
Diffstat (limited to 'keyboards/neson_design/n6')
-rw-r--r--keyboards/neson_design/n6/n6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/neson_design/n6/n6.c b/keyboards/neson_design/n6/n6.c
index 03bb88c40b..e4538257f1 100644
--- a/keyboards/neson_design/n6/n6.c
+++ b/keyboards/neson_design/n6/n6.c
@@ -104,12 +104,12 @@ static void update_ticks(void)
static void self_testing(void)
{
if (timer_elapsed(rgb_state.ticks) < ST_INTERVAL) return;
- HSV hsv;
+ hsv_t hsv;
hsv.h = rgblight_config.hue;
hsv.s = rgblight_config.sat;
hsv.v = rgblight_config.val;
- RGB led = hsv_to_rgb(hsv);
+ rgb_t led = hsv_to_rgb(hsv);
switch(rgb_state.testing) {
case ST_STAGE_1:
if (rgb_state.index !=0 ) {