Pārlūkot izejas kodu

Fix Due EEPROM write bug

See #13065
Scott Lahteine 5 gadus atpakaļ
vecāks
revīzija
422dd6666e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp

+ 1
- 0
Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp Parādīt failu

@@ -52,6 +52,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
52 52
     // so only write bytes that have changed!
53 53
     if (v != eeprom_read_byte(p)) {
54 54
       eeprom_write_byte(p, v);
55
+      delay(2);
55 56
       if (eeprom_read_byte(p) != v) {
56 57
         SERIAL_ECHO_MSG(MSG_ERR_EEPROM_WRITE);
57 58
         return true;

Notiek ielāde…
Atcelt
Saglabāt