From 503eea3da85fe8d7a675778f95e66b0402b8f8e9 Mon Sep 17 00:00:00 2001 From: true Date: Fri, 1 Nov 2024 14:35:16 -0700 Subject: [PATCH] fix RGB order... oops --- nametag8_CH592/user/led/rgbled.c | 2 +- nametag8_CH592/user/main.c | 2 +- nametag8_CH592/user/ui/menu_def.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nametag8_CH592/user/led/rgbled.c b/nametag8_CH592/user/led/rgbled.c index bfff413..92f9c51 100644 --- a/nametag8_CH592/user/led/rgbled.c +++ b/nametag8_CH592/user/led/rgbled.c @@ -137,7 +137,7 @@ void rgbled_send() hsv2rgb(hsv_out[i].h, hsv_out[i].s, hsv_out[i].v, - fade+0, fade+1, fade+2); + fade+2, fade+1, fade+0); fade += 3; } } diff --git a/nametag8_CH592/user/main.c b/nametag8_CH592/user/main.c index 5edadcf..acb3dc1 100644 --- a/nametag8_CH592/user/main.c +++ b/nametag8_CH592/user/main.c @@ -68,7 +68,7 @@ -const uint8_t vers[] = "241028a"; +const uint8_t vers[] = "241101a"; uint32_t cpu_use = 0; uint32_t cpu_max = 0; diff --git a/nametag8_CH592/user/ui/menu_def.c b/nametag8_CH592/user/ui/menu_def.c index c52801e..8e6e57e 100644 --- a/nametag8_CH592/user/ui/menu_def.c +++ b/nametag8_CH592/user/ui/menu_def.c @@ -25,8 +25,8 @@ const MenuItem menu_1_name_setup = {8, MENU_FLAG_SCROLL | MENU_FLAG_SAVE_ON_EXIT (MenuItem *)&menu_0, 1, &menu_1_disp, &menu_1_enter}; // led menu - // edge mode, edge setup, eyes mode, eyes setup, favcolor hue, sat, val, altcolor hue, sat, val -const MenuItem menu_2_led_setup = {10, MENU_FLAG_SCROLL | MENU_FLAG_SAVE_ON_EXIT, + // rgb mode, rgb setup, favcolor hue, sat, val, altcolor hue, sat, val +const MenuItem menu_2_led_setup = {8, MENU_FLAG_SCROLL | MENU_FLAG_SAVE_ON_EXIT, (MenuItem *)&menu_0, 2, &menu_2_disp, &menu_2_enter};