wrong var name

pull/365/head
Jesse Vincent 8 years ago
parent ea90ca09b0
commit ae8407016b

@ -20,7 +20,7 @@ void LEDRainbowEffect_::update(void) {
} }
void LEDRainbowEffect_::brightness(byte brightness) { void LEDRainbowEffect_::brightness(byte brightness) {
rainbow.value=brighness; rainbow_value=brighness;
} }
LEDRainbowEffect_ LEDRainbowEffect; LEDRainbowEffect_ LEDRainbowEffect;
@ -52,7 +52,7 @@ void LEDRainbowWaveEffect_::update(void) {
} }
void LEDRainbowWaveEffect_::brightness(byte brightness) { void LEDRainbowWaveEffect_::brightness(byte brightness) {
rainbow.value=brighness; rainbow_value=brighness;
} }
LEDRainbowWaveEffect_ LEDRainbowWaveEffect; LEDRainbowWaveEffect_ LEDRainbowWaveEffect;

Loading…
Cancel
Save