summaryrefslogtreecommitdiffstats
path: root/keyboards/mxss/mxss_frontled.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mxss/mxss_frontled.c')
-rw-r--r--keyboards/mxss/mxss_frontled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/mxss/mxss_frontled.c b/keyboards/mxss/mxss_frontled.c
index 8bb93d5fd8..2ab9a27bea 100644
--- a/keyboards/mxss/mxss_frontled.c
+++ b/keyboards/mxss/mxss_frontled.c
@@ -36,7 +36,7 @@ __attribute__ ((weak))
hs_set caps_color;
__attribute__ ((weak))
-size_t lc_size = sizeof(layer_colors) / sizeof(hs_set);
+size_t lc_size = ARRAY_SIZE(layer_colors);
void fled_init(void) {
// This checks both an EEPROM reset (from bootmagic lite, keycodes)