diff options
author | Florian Didron <florian@111studio.jp> | 2019-08-15 11:07:42 +0900 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-08-15 23:40:15 +0000 |
commit | a587846d9723e7408fa60831e418a84ae84b705f (patch) | |
tree | e83e75f8fb6c9358ee81e36a625ddf6132408441 /keyboards/planck | |
parent | 2db33bc5e17cd9a054af5256cd371f97f142b319 (diff) |
fix: eeconfig init timning issue on the Planck
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/ez/ez.c | 3 |
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 |