hardware::Atreus: Make cpplint happy

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

@ -73,7 +73,7 @@ void Atreus::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);

@ -46,14 +46,14 @@ namespace hardware {
class Atreus { class Atreus {
public: public:
Atreus(void) {}; Atreus(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