summaryrefslogtreecommitdiffstats
path: root/quantum/backlight
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/backlight')
-rw-r--r--quantum/backlight/backlight.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/backlight/backlight.h b/quantum/backlight/backlight.h
index ff9c8de420..85812bff3a 100644
--- a/quantum/backlight/backlight.h
+++ b/quantum/backlight/backlight.h
@@ -44,6 +44,8 @@ typedef union {
};
} backlight_config_t;
+_Static_assert(sizeof(backlight_config_t) == sizeof(uint8_t), "Backlight EECONFIG out of spec.");
+
void backlight_init(void);
void backlight_toggle(void);
void backlight_enable(void);