summaryrefslogtreecommitdiff
path: root/keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c')
-rwxr-xr-xkeyboards/mechwild/mercutio/keymaps/jonavin/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c b/keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c
index 5c22abee3f..a8f1d488d4 100755
--- a/keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c
+++ b/keyboards/mechwild/mercutio/keymaps/jonavin/keymap.c
@@ -71,7 +71,7 @@ static const keycodedescType PROGMEM keyselection[] = {
{"FLASH", QK_BOOT}, // firmware flash mode
};
-#define MAX_KEYSELECTION sizeof(keyselection)/sizeof(keyselection[0])
+#define MAX_KEYSELECTION ARRAY_SIZE(keyselection)
static uint8_t selectedkey_idx = 0;
static keycodedescType selectedkey_rec;