summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/melody96/keymaps/konstantin
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/melody96/keymaps/konstantin')
-rw-r--r--keyboards/ymdk/melody96/keymaps/konstantin/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ymdk/melody96/keymaps/konstantin/keymap.c b/keyboards/ymdk/melody96/keymaps/konstantin/keymap.c
index 1ee7ca1e77..cc6cbd90c2 100644
--- a/keyboards/ymdk/melody96/keymaps/konstantin/keymap.c
+++ b/keyboards/ymdk/melody96/keymaps/konstantin/keymap.c
@@ -2,7 +2,7 @@
#include "konstantin.h"
static const HSV *colors[] = { &godspeed_blue, &godspeed_yellow };
-static const size_t cnum = sizeof colors / sizeof *colors;
+static const size_t cnum = ARRAY_SIZE(colors);
static size_t cidx = 0;
enum keycodes_keymap {