astyle with astyle 3.0, which matters for this code

pull/365/head
Jesse Vincent 7 years ago
parent 3adb8c28af
commit ede5fdba6c
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -24,14 +24,14 @@
namespace KaleidoscopePlugins {
namespace LEDEffects {
class AlphaSquareEffect : public LEDMode {
public:
public:
AlphaSquareEffect (void);
virtual void begin (void) final;
virtual void update (void) final;
static uint16_t length;
private:
private:
static uint32_t endTimeLeft, endTimeRight;
static Key lastKeyLeft, lastKeyRight;
static uint8_t us;

@ -22,150 +22,150 @@ namespace KaleidoscopePlugins {
static const uint16_t alphabet[] PROGMEM = {
SYM4x4(1, 1, 1, 1,
1, 0, 0, 1,
1, 1, 1, 1,
1, 0, 0, 1), // A
1, 0, 0, 1,
1, 1, 1, 1,
1, 0, 0, 1), // A
SYM4x4(1, 1, 1, 1,
1, 0, 1, 1,
1, 1, 0, 1,
1, 1, 1, 1), // B
1, 0, 1, 1,
1, 1, 0, 1,
1, 1, 1, 1), // B
SYM4x4(1, 1, 1, 1,
1, 0, 0, 0,
1, 0, 0, 0,
1, 1, 1, 1), // C
1, 0, 0, 0,
1, 0, 0, 0,
1, 1, 1, 1), // C
SYM4x4(1, 1, 1, 0,
1, 0, 0, 1,
1, 0, 0, 1,
1, 1, 1, 0), // D
1, 0, 0, 1,
1, 0, 0, 1,
1, 1, 1, 0), // D
SYM4x4(1, 1, 1, 1,
1, 1, 0, 0,
1, 0, 0, 0,
1, 1, 1, 1), // E
1, 1, 0, 0,
1, 0, 0, 0,
1, 1, 1, 1), // E
SYM4x4(1, 1, 1, 1,
1, 0, 0, 0,
1, 1, 1, 0,
1, 0, 0, 0), // F
1, 0, 0, 0,
1, 1, 1, 0,
1, 0, 0, 0), // F
SYM4x4(1, 1, 1, 0,
1, 0, 0, 0,
1, 0, 0, 1,
1, 1, 1, 1), // G
1, 0, 0, 0,
1, 0, 0, 1,
1, 1, 1, 1), // G
SYM4x4(1, 0, 0, 1,
1, 1, 1, 1,
1, 0, 0, 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0, 1,
1, 1, 1, 1), // 3
SYM4x4(1, 0, 0, 1,
1, 1, 1, 1,
0, 0, 0, 1,
0, 0, 0, 1), // 4
1, 1, 1, 1,
0, 0, 0, 1,
0, 0, 0, 1), // 4
SYM4x4(1, 1, 1, 1,
1, 0, 0, 0,
0, 1, 1, 1,
1, 1, 1, 1), // 5
1, 0, 0, 0,
0, 1, 1, 1,
1, 1, 1, 1), // 5
SYM4x4(0, 1, 1, 0,
1, 0, 0, 0,
1, 1, 1, 1,
1, 1, 1, 1), // 6
1, 0, 0, 0,
1, 1, 1, 1,
1, 1, 1, 1), // 6
SYM4x4(1, 1, 1, 1,
0, 0, 0, 1,
0, 0, 1, 0,
0, 1, 0, 0), // 7
0, 0, 0, 1,
0, 0, 1, 0,
0, 1, 0, 0), // 7
SYM4x4(1, 1, 1, 0,
1, 0, 1, 1,
1, 1, 0, 1,
0, 1, 1, 1), // 8
1, 0, 1, 1,
1, 1, 0, 1,
0, 1, 1, 1), // 8
SYM4x4(1, 1, 1, 1,
1, 0, 0, 1,
1, 1, 1, 1,
0, 0, 0, 1), // 9
1, 0, 0, 1,
1, 1, 1, 1,
0, 0, 0, 1), // 9
SYM4x4(0, 1, 1, 0,
1, 0, 0, 1,
1, 0, 0, 1,
0, 1, 1, 0), // 0
1, 0, 0, 1,
1, 0, 0, 1,
0, 1, 1, 0), // 0
};
cRGB AlphaSquare::color = {0x80, 0x80, 0x80};

@ -36,7 +36,7 @@
namespace KaleidoscopePlugins {
class AlphaSquare : public KaleidoscopePlugin {
public:
public:
AlphaSquare (void);
virtual void begin (void) final;

Loading…
Cancel
Save