summaryrefslogtreecommitdiff
path: root/keyboards/rocketboard_16/keycode_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rocketboard_16/keycode_lookup.c')
-rw-r--r--keyboards/rocketboard_16/keycode_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/rocketboard_16/keycode_lookup.c b/keyboards/rocketboard_16/keycode_lookup.c
index 0e6e47ba0d..ab2e69b346 100644
--- a/keyboards/rocketboard_16/keycode_lookup.c
+++ b/keyboards/rocketboard_16/keycode_lookup.c
@@ -18,7 +18,7 @@
#include "print.h"
#include "via.h"
-#define num_keycodes (sizeof(lookup_table)/sizeof(lookup_table[0]))
+#define num_keycodes ARRAY_SIZE(lookup_table)
static char UNKNOWN_KEYCODE[] = "UNKNOWN";
int cmp(const void *v1, const void *v2)