Przeglądaj źródła

Fix Due EEPROM write bug

See #13065
Scott Lahteine 5 lat temu
rodzic
commit
422dd6666e

+ 1
- 0
Marlin/src/HAL/HAL_DUE/persistent_store_eeprom.cpp Wyświetl plik

@@ -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;

Ładowanie…
Anuluj
Zapisz