configuration

This commit is contained in:
Wolfgang Hottgenroth 2020-11-27 16:16:40 +01:00
parent 44523a4ed3
commit 4e3f086fa0
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -34,5 +34,8 @@ void configInit() {
if (mainConfigBlock.configMagic != CONFIG_MAGIC) {
coloredMsg(LOG_BLUE, false, "cfg ci Invalid configuration block read from eeprom");
eepromWriteConfigBlock(0, &defaultConfigBlock);
coloredMsg(LOG_BLUE, false, "cfg ci Default configuration block written to eeprom");
}
}