Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
Signed-off-by: Evy Bongers <[email protected]>
  • Loading branch information
EvyBongers authored and obra committed Aug 7, 2024
1 parent ae14776 commit 17971c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class ColormapOverlay : public kaleidoscope::Plugin {
}

template<uint8_t _layer_count>
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_++) {
Expand Down

0 comments on commit 17971c4

Please sign in to comment.