diff options
Diffstat (limited to 'Model01-Firmware.ino')
-rw-r--r-- | Model01-Firmware.ino | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index b8b7d49..b74c498 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -157,9 +157,10 @@ private: const color (*map)[ROWS][COLS]; protected: void update(void) final { + uint8_t layer = Layer.top(); for (uint8_t r = 0; r < ROWS; r++) { for (uint8_t c = 0; c < COLS; c++) { - this->refreshAt(r, c); + LEDControl.setCrgbAt(r, c, colors[map[layer][r][c]]); } } } |