diff --git a/src/Kaleidoscope-LEDEffect-Rainbow.h b/src/Kaleidoscope-LEDEffect-Rainbow.h index 1af33c82..0945b785 100644 --- a/src/Kaleidoscope-LEDEffect-Rainbow.h +++ b/src/Kaleidoscope-LEDEffect-Rainbow.h @@ -13,12 +13,12 @@ class LEDRainbowEffect_ : public LEDMode { private: 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 uint8_t rainbow_steps = 1; //number of hues we skip in a 360 range per update uint16_t rainbow_current_ticks = 0; - static const uint16_t rainbow_ticks = 10; //delays between update + static uint16_t rainbow_ticks = 10; //delays between update - static const byte rainbow_saturation = 255; - static const byte rainbow_value = 50; + static byte rainbow_saturation = 255; + static byte rainbow_value = 50; }; @@ -34,12 +34,12 @@ class LEDRainbowWaveEffect_ : public LEDMode { private: uint16_t rainbow_hue = 0; //stores 0 to 614 - static const uint8_t rainbow_wave_steps = 1; //number of hues we skip in a 360 range per update + static uint8_t rainbow_wave_steps = 1; //number of hues we skip in a 360 range per update uint16_t rainbow_current_ticks = 0; - static const uint16_t rainbow_wave_ticks = 10; //delays between update + static uint16_t rainbow_wave_ticks = 10; //delays between update - static const byte rainbow_saturation = 255; - static const byte rainbow_value = 50; + static byte rainbow_saturation = 255; + static byte rainbow_value = 50; }; extern LEDRainbowWaveEffect_ LEDRainbowWaveEffect;