summaryrefslogtreecommitdiffstats
path: root/quantum/unicode
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/unicode')
-rw-r--r--quantum/unicode/unicode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/unicode/unicode.h b/quantum/unicode/unicode.h
index 6f1e35d554..06505d87c0 100644
--- a/quantum/unicode/unicode.h
+++ b/quantum/unicode/unicode.h
@@ -21,12 +21,14 @@
#include "quantum.h"
typedef union {
- uint32_t raw;
+ uint8_t raw;
struct {
uint8_t input_mode : 8;
};
} unicode_config_t;
+_Static_assert(sizeof(unicode_config_t) == sizeof(uint8_t), "Unicode EECONFIG out of spec.");
+
extern unicode_config_t unicode_config;
enum unicode_input_modes {