fix: eeconfig init timning issue on the Planck
This commit is contained in:
committed by
Florian Didron
parent
2db33bc5e1
commit
a587846d97
@@ -207,6 +207,9 @@ void led_initialize_hardware(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void keyboard_pre_init_kb(void) {
|
void keyboard_pre_init_kb(void) {
|
||||||
|
if (!eeconfig_is_enabled()) {
|
||||||
|
eeconfig_init();
|
||||||
|
}
|
||||||
// read kb settings from eeprom
|
// read kb settings from eeprom
|
||||||
keyboard_config.raw = eeconfig_read_kb();
|
keyboard_config.raw = eeconfig_read_kb();
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|||||||
Reference in New Issue
Block a user