Remove some dead code that were accidentally left in

When implementing `.refreshAt` before, some dead code was left in
Kaleidoscope-LEDControl.cpp, code that is now implemented in the header.

As these are implemented elsewhere, and are `#if 0`'d out anyway, drop them.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/365/head
Gergely Nagy 7 years ago
parent b0701de771
commit 339db0a0b3

@ -33,18 +33,6 @@ void LEDControl::next_mode(void) {
return set_mode(mode); return set_mode(mode);
} }
#if 0
void LEDControl::update(void) {
if (modes[mode])
(modes[mode]->update)();
}
void LEDControl::refreshAt(byte row, byte col) {
if (modes[mode])
modes[mode]->refreshAt(row, col);
}
#endif
void void
LEDControl::set_mode(uint8_t mode_) { LEDControl::set_mode(uint8_t mode_) {
if (mode_ >= LED_MAX_MODES) if (mode_ >= LED_MAX_MODES)

Loading…
Cancel
Save