summaryrefslogtreecommitdiff
path: root/keyboards/mechwild/puckbuddy/puckbuddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/puckbuddy/puckbuddy.c')
-rw-r--r--keyboards/mechwild/puckbuddy/puckbuddy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/mechwild/puckbuddy/puckbuddy.c b/keyboards/mechwild/puckbuddy/puckbuddy.c
index b82d06f565..495cb7e825 100644
--- a/keyboards/mechwild/puckbuddy/puckbuddy.c
+++ b/keyboards/mechwild/puckbuddy/puckbuddy.c
@@ -16,7 +16,7 @@
keyboard_config_t keyboard_config;
uint16_t dpi_array[] = GLIDEPOINT_DPI_OPTIONS;
-#define DPI_OPTION_SIZE (sizeof(dpi_array) / sizeof(uint16_t))
+#define DPI_OPTION_SIZE ARRAY_SIZE(dpi_array)
void board_init(void) {
// B9 is configured as I2C1_SDA in the board file; that function must be