drop cmd stuff

This commit is contained in:
2021-02-16 10:29:12 +01:00
parent a711fcbe2a
commit 73ac869f26
11 changed files with 85 additions and 698 deletions

View File

@ -130,7 +130,7 @@ void eepromReadConfigBlock(t_configBlock *destConfigBlock) {
}
}
void eepromWriteConfigBlock(t_configBlock *srcConfigBlock) {
static 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);