hardware::ErgoDox: Make cpplint happy

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/427/head^2
Gergely Nagy 6 years ago
parent f1298c52ba
commit 9506e2b70b
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -68,7 +68,7 @@ void ErgoDox::setup(void) {
TCCR1B = _BV(WGM13); TCCR1B = _BV(WGM13);
TCCR1A = 0; TCCR1A = 0;
const unsigned long cycles = (F_CPU / 2000000) * 500; const uint32_t cycles = (F_CPU / 2000000) * 500;
ICR1 = cycles; ICR1 = cycles;
TCCR1B = _BV(WGM13) | _BV(CS10); TCCR1B = _BV(WGM13) | _BV(CS10);

@ -49,14 +49,14 @@ namespace hardware {
class ErgoDox { class ErgoDox {
public: public:
ErgoDox(void) {}; ErgoDox(void) {}
void syncLeds(void) {}; void syncLeds(void) {}
void setCrgbAt(byte row, byte col, cRGB color) {}; void setCrgbAt(byte row, byte col, cRGB color) {}
void setCrgbAt(uint8_t i, cRGB crgb) {}; void setCrgbAt(uint8_t i, cRGB crgb) {}
cRGB getCrgbAt(uint8_t i) { cRGB getCrgbAt(uint8_t i) {
return CRGB(0, 0, 0); return CRGB(0, 0, 0);
}; }
void scanMatrix(void); void scanMatrix(void);
void readMatrix(void); void readMatrix(void);

Loading…
Cancel
Save