Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 7 years ago
parent 95789d3777
commit 8a77cdaaff

@ -9,9 +9,13 @@ class LEDRainbowEffect : public LEDMode {
LEDRainbowEffect(void) {} LEDRainbowEffect(void) {}
void brightness(byte); void brightness(byte);
byte brightness(void) { return rainbow_value; } byte brightness(void) {
return rainbow_value;
}
void update_delay(byte); void update_delay(byte);
byte update_delay(void) { return rainbow_update_delay; } byte update_delay(void) {
return rainbow_update_delay;
}
void update(void) final; void update(void) final;
private: private:
@ -31,9 +35,13 @@ class LEDRainbowWaveEffect : public LEDMode {
LEDRainbowWaveEffect(void) {} LEDRainbowWaveEffect(void) {}
void brightness(byte); void brightness(byte);
byte brightness(void) { return rainbow_value; } byte brightness(void) {
return rainbow_value;
}
void update_delay(byte); void update_delay(byte);
byte update_delay(void) { return rainbow_update_delay; } byte update_delay(void) {
return rainbow_update_delay;
}
void update(void) final; void update(void) final;
private: private:

Loading…
Cancel
Save