DynamicMacros: Fix the size of our lookup table

Our lookup table should have 32 entries, not 31, as Kaleidoscope-Ranges gives
DynamicMacros 32 entries.

Thanks @gedankenexperimenter for spotting this!

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1179/head
Gergely Nagy 2 years ago
parent c0b99d763e
commit 39e607e7c7
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -49,7 +49,7 @@ class DynamicMacros : public kaleidoscope::Plugin {
private:
static uint16_t storage_base_;
static uint16_t storage_size_;
static uint16_t map_[31];
static uint16_t map_[32];
static uint8_t macro_count_;
static uint8_t updateDynamicMacroCache();
static Key active_macro_keys_[MAX_CONCURRENT_DYNAMIC_MACRO_KEYS];

Loading…
Cancel
Save