From 99db6afa5236aad55ecf8e65da9278aaea0f3883 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 18 Nov 2019 08:51:36 +0100 Subject: [PATCH] Small fix. --- MicroDexed.ino | 2 ++ 1 file changed, 2 insertions(+) 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