astyle with current project style guidelines

pull/365/head
Jesse Vincent 8 years ago
parent 7686f58715
commit 90d21fb627
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -1,13 +1,13 @@
#include "Kaleidoscope-LEDEffect-SolidColor.h"
LEDSolidColor::LEDSolidColor (uint8_t r, uint8_t g, uint8_t b) {
LEDSolidColor::LEDSolidColor(uint8_t r, uint8_t g, uint8_t b) {
this->r = r;
this->g = g;
this->b = b;
LEDControl.mode_add (this);
LEDControl.mode_add(this);
}
void
LEDSolidColor::init (void) {
LEDControl.set_all_leds_to (r, g, b);
LEDSolidColor::init(void) {
LEDControl.set_all_leds_to(r, g, b);
}

@ -4,9 +4,9 @@
class LEDSolidColor : public LEDMode {
public:
LEDSolidColor (uint8_t r, uint8_t g, uint8_t b);
LEDSolidColor(uint8_t r, uint8_t g, uint8_t b);
virtual void init (void) final;
virtual void init(void) final;
private:
uint8_t r, g, b;

Loading…
Cancel
Save