summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorFlorian Didron <florian@111studio.jp>2019-08-15 11:07:42 +0900
committerFlorian Didron <fdidron@users.noreply.github.com>2019-08-15 23:40:15 +0000
commita587846d9723e7408fa60831e418a84ae84b705f (patch)
treee83e75f8fb6c9358ee81e36a625ddf6132408441 /keyboards/planck
parent2db33bc5e17cd9a054af5256cd371f97f142b319 (diff)
fix: eeconfig init timning issue on the Planck
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/ez/ez.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c
index 543f04a67f..79310da10a 100644
--- a/keyboards/planck/ez/ez.c
+++ b/keyboards/planck/ez/ez.c
@@ -207,6 +207,9 @@ void led_initialize_hardware(void) {
}
void keyboard_pre_init_kb(void) {
+ if (!eeconfig_is_enabled()) {
+ eeconfig_init();
+ }
// read kb settings from eeprom
keyboard_config.raw = eeconfig_read_kb();
#ifdef RGB_MATRIX_ENABLE