fix RGB order... oops

This commit is contained in:
true 2024-11-01 14:35:16 -07:00
parent a7fb413655
commit 503eea3da8
3 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -68,7 +68,7 @@
const uint8_t vers[] = "241028a";
const uint8_t vers[] = "241101a";
uint32_t cpu_use = 0;
uint32_t cpu_max = 0;

View File

@ -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};