cpplint-noisy cleanup

pull/365/head
Jesse Vincent 8 years ago
parent 85b96e0e85
commit 953b58702c

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

@ -11,15 +11,14 @@ class LEDRainbowEffect_ : public LEDMode {
void update(void) final;
private:
uint16_t rainbow_hue = 0; //stores 0 to 614
uint16_t rainbow_hue = 0; // stores 0 to 614
uint8_t rainbow_steps = 1; //number of hues we skip in a 360 range per update
uint8_t rainbow_steps = 1; // number of hues we skip in a 360 range per update
uint16_t rainbow_current_ticks = 0;
uint16_t rainbow_ticks = 10; //delays between update
uint16_t rainbow_ticks = 10; // delays between update
byte rainbow_saturation = 255;
byte rainbow_value = 50;
};
extern LEDRainbowEffect_ LEDRainbowEffect;
@ -32,11 +31,11 @@ class LEDRainbowWaveEffect_ : public LEDMode {
void update(void) final;
private:
uint16_t rainbow_hue = 0; //stores 0 to 614
uint16_t rainbow_hue = 0; // stores 0 to 614
uint8_t rainbow_wave_steps = 1; //number of hues we skip in a 360 range per update
uint8_t rainbow_wave_steps = 1; // number of hues we skip in a 360 range per update
uint16_t rainbow_current_ticks = 0;
uint16_t rainbow_wave_ticks = 10; //delays between update
uint16_t rainbow_wave_ticks = 10; // delays between update
byte rainbow_saturation = 255;
byte rainbow_value = 50;

Loading…
Cancel
Save