Make color cycle skip black

This commit is contained in:
Werner Sembach 2022-08-25 19:06:16 +02:00
parent 3c6451d9d8
commit 6d1f210db4

View file

@ -174,7 +174,7 @@ static void set_next_color_whole_kb(void)
new_color_id = kbd_led_state.whole_kbd_color + 1;
if (new_color_id >= color_list.size) {
new_color_id = 0;
new_color_id = 1; // Skip black
}
new_color_code = color_list.colors[new_color_id].code;