Merge pull request #3 from keyboardio/h/ledoff-actively

LEDOff: Always set everything to off
pull/365/head
Jesse Vincent 8 years ago committed by GitHub
commit e87ac46396

@ -1,3 +1,7 @@
#include "LED-Off.h"
void LEDOff_::update (void) {
LEDControl.set_all_leds_to ({0, 0, 0});
}
LEDOff_ LEDOff;

@ -5,6 +5,8 @@
class LEDOff_ : public LEDMode {
public:
LEDOff_ (void) { };
virtual void update (void) final;
};
extern LEDOff_ LEDOff;

Loading…
Cancel
Save