Browse Source

Fix Due EEPROM write bug

See #13065
Scott Lahteine 5 years ago
parent
commit
422dd6666e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp

+ 1
- 0
Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp View File

52
     // so only write bytes that have changed!
52
     // so only write bytes that have changed!
53
     if (v != eeprom_read_byte(p)) {
53
     if (v != eeprom_read_byte(p)) {
54
       eeprom_write_byte(p, v);
54
       eeprom_write_byte(p, v);
55
+      delay(2);
55
       if (eeprom_read_byte(p) != v) {
56
       if (eeprom_read_byte(p) != v) {
56
         SERIAL_ECHO_MSG(MSG_ERR_EEPROM_WRITE);
57
         SERIAL_ECHO_MSG(MSG_ERR_EEPROM_WRITE);
57
         return true;
58
         return true;

Loading…
Cancel
Save