diff --git a/MicroDexed.ino b/MicroDexed.ino index a542364..0160e07 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -1263,7 +1263,9 @@ void eeprom_update(void) configuration.checksum = crc32((byte*)&configuration + 4, sizeof(configuration) - 4); EEPROM.put(EEPROM_START_ADDRESS, configuration); Serial.println(F("Updating EEPROM")); +#ifdef DEBUG show_configuration(); +#endif } uint32_t crc32(byte * calc_start, uint16_t calc_bytes) // base code from https://www.arduino.cc/en/Tutorial/EEPROMCrc