Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>pull/365/head
parent
f364a389b1
commit
de54b5b279
@ -1,11 +1,10 @@
|
||||
#include "Kaleidoscope-LEDEffect-Breathe.h"
|
||||
|
||||
LEDBreatheEffect_::LEDBreatheEffect_(void) {
|
||||
}
|
||||
|
||||
void LEDBreatheEffect_::update(void) {
|
||||
namespace kaleidoscope {
|
||||
void LEDBreatheEffect::update(void) {
|
||||
cRGB color = breath_compute();
|
||||
LEDControl.set_all_leds_to(color);
|
||||
::LEDControl.set_all_leds_to(color);
|
||||
}
|
||||
}
|
||||
|
||||
LEDBreatheEffect_ LEDBreatheEffect;
|
||||
kaleidoscope::LEDBreatheEffect LEDBreatheEffect;
|
||||
|
Loading…
Reference in new issue