@ -169,7 +169,7 @@ void LEDControl_::effect_rainbow_wave_update() {
}
for (uint8_t i = 0; i < LED_COUNT; i++) {
uint8_t key_hue = rainbow_hue +16*(i/4);
uint16_t key_hue = rainbow_hue +16*(i/4);
if (key_hue >= 360) {
key_hue %= 360;
@ -43,7 +43,7 @@ class LEDControl_ {
cRGB rainbow;
uint8_t rainbow_hue = 0; //stores 0 to 614
uint16_t rainbow_hue = 0; //stores 0 to 614
static const uint8_t rainbow_steps = 1; //number of hues we skip in a 360 range per update
static const uint8_t rainbow_wave_steps=1; //number of hues we skip in a 360 range per update