device configuration prepared
This commit is contained in:
@ -108,8 +108,9 @@ void configInit() {
|
||||
eepromWriteConfigBlock(&defaultConfigBlock);
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci Default configuration block written to eeprom");
|
||||
|
||||
eepromWriteDeviceBlock(0, &defaultDeviceBlock[0]);
|
||||
eepromWriteDeviceBlock(1, &defaultDeviceBlock[1]);
|
||||
for (uint8_t i = 0; i < sizeof(defaultConfigBlock) / sizeof(t_deviceBlock); i++) {
|
||||
eepromWriteDeviceBlock(i, &defaultDeviceBlock[i]);
|
||||
}
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci Default device blocks written to eeprom");
|
||||
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci Reading configuration block from eeprom again");
|
||||
|
Reference in New Issue
Block a user