config write still required
This commit is contained in:
@ -130,7 +130,7 @@ void eepromReadConfigBlock(t_configBlock *destConfigBlock) {
|
||||
}
|
||||
}
|
||||
|
||||
static void eepromWriteConfigBlock(t_configBlock *srcConfigBlock) {
|
||||
void eepromWriteConfigBlock(t_configBlock *srcConfigBlock) {
|
||||
for (uint8_t i = 0; i < (sizeof(*srcConfigBlock) / EEPROM_WRITE_BLOCK_SIZE); i++) {
|
||||
eepromWrite(CONFIG_BLOCK_ADDR + (i * EEPROM_WRITE_BLOCK_SIZE), ((uint8_t*)srcConfigBlock) + (i * EEPROM_WRITE_BLOCK_SIZE), EEPROM_WRITE_BLOCK_SIZE);
|
||||
eepromActiveDelay(EEPROM_AFTER_WRITE_DELAY);
|
||||
|
Reference in New Issue
Block a user