From 11c643bba820f11d69020a7a41af298e1f047adf Mon Sep 17 00:00:00 2001 From: Selene Scriven Date: Sat, 5 Aug 2017 20:02:30 -0600 Subject: [PATCH] Removed more dead code. --- src/Kaleidoscope/LED-Wavepool.cpp | 4 ---- src/Kaleidoscope/LED-Wavepool.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/Kaleidoscope/LED-Wavepool.cpp b/src/Kaleidoscope/LED-Wavepool.cpp index 66b21571..413854ba 100644 --- a/src/Kaleidoscope/LED-Wavepool.cpp +++ b/src/Kaleidoscope/LED-Wavepool.cpp @@ -51,10 +51,6 @@ void WavepoolEffect::begin(void) { LEDMode::begin(); } -void WavepoolEffect::init(void) { - memset(surface, 0, sizeof(surface)); -} - Key WavepoolEffect::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_state) { if (row >= ROWS || col >= COLS) return mapped_key; diff --git a/src/Kaleidoscope/LED-Wavepool.h b/src/Kaleidoscope/LED-Wavepool.h index e00cfa54..6c9929f6 100644 --- a/src/Kaleidoscope/LED-Wavepool.h +++ b/src/Kaleidoscope/LED-Wavepool.h @@ -30,7 +30,6 @@ class WavepoolEffect : public LEDMode { WavepoolEffect(void); void begin(void) final; - void init(void) final; void update(void) final; // ms before idle animation starts after last keypress