Make the linter happy

pull/365/head
Jesse Vincent 8 years ago
parent 135f91dfa3
commit 91da0ae68e
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -217,7 +217,7 @@ LEDControl_::focusHook(const char *command) {
LEDControl.next_mode(); LEDControl.next_mode();
Serial.read(); Serial.read();
} else if (peek == 'p') { } else if (peek == 'p') {
// TODO // TODO(algernon)
Serial.read(); Serial.read();
} else { } else {
uint8_t mode = Serial.parseInt(); uint8_t mode = Serial.parseInt();

@ -11,9 +11,9 @@
class LEDMode : public KaleidoscopePlugin { class LEDMode : public KaleidoscopePlugin {
public: public:
virtual void begin(void); virtual void begin(void);
virtual void setup(void) {}; virtual void setup(void) {}
virtual void init(void) {}; virtual void init(void) {}
virtual void update(void) {}; virtual void update(void) {}
virtual void activate(void); virtual void activate(void);
}; };
@ -21,7 +21,7 @@ class LEDControl_ : public KaleidoscopePlugin {
public: public:
LEDControl_(void); LEDControl_(void);
virtual void begin(void) final; void begin(void) final;
static void next_mode(void); static void next_mode(void);
static void setup(void); static void setup(void);

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

@ -2,7 +2,6 @@
cRGB cRGB
breath_compute() { breath_compute() {
// This code is adapted from FastLED lib8tion.h as of dd5d96c6b289cb6b4b891748a4aeef3ddceaf0e6 // This code is adapted from FastLED lib8tion.h as of dd5d96c6b289cb6b4b891748a4aeef3ddceaf0e6
// Eventually, we should consider just using FastLED // Eventually, we should consider just using FastLED

Loading…
Cancel
Save