From 422dd6666e23a7ddabb2762fe07ca89e51188205 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 20 Feb 2019 04:04:07 -0600 Subject: [PATCH] Fix Due EEPROM write bug See #13065 --- Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp b/Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp index 1a3033b50..648f6304e 100644 --- a/Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp +++ b/Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp @@ -52,6 +52,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui // so only write bytes that have changed! if (v != eeprom_read_byte(p)) { eeprom_write_byte(p, v); + delay(2); if (eeprom_read_byte(p) != v) { SERIAL_ECHO_MSG(MSG_ERR_EEPROM_WRITE); return true;