From 17971c41a8584201de8f6e7f684ec616915bcdd9 Mon Sep 17 00:00:00 2001 From: Evy Bongers Date: Sat, 22 Jun 2024 10:55:57 +0200 Subject: [PATCH] Fix error Signed-off-by: Evy Bongers --- .../src/kaleidoscope/plugin/Colormap-Overlay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.h b/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.h index e894b65ee..16a8d4a39 100644 --- a/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.h +++ b/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.h @@ -55,8 +55,8 @@ class ColormapOverlay : public kaleidoscope::Plugin { } template - void configureOverlays(uint8_t const (&overlays)[_layer_count][kaleidoscope_internal::device.matrix_rows * kaleidoscope_internal::device.matrix_columns]) { - overlays_ = Overlay[]; + void configureOverlays(uint8_t **overlays) { + overlays_ = nullptr; overlay_count_ = 0; for (int layer_ = 0; layer_ < _layer_count; layer_++) { for (int key_index_ = 0; key_index_ < kaleidoscope_internal::device.matrix_rows * kaleidoscope_internal::device.matrix_columns; key_index_++) {