|
@@ -38,7 +38,7 @@
|
38
|
38
|
#error "MARLIN_EEPROM_SIZE is required for I2C / SPI EEPROM."
|
39
|
39
|
#endif
|
40
|
40
|
size_t PersistentStore::capacity() { return MARLIN_EEPROM_SIZE; }
|
41
|
|
-bool PersistentStore::access_start() { return true; }
|
|
41
|
+bool PersistentStore::access_start() { eeprom_init(); return true; }
|
42
|
42
|
bool PersistentStore::access_finish() { return true; }
|
43
|
43
|
|
44
|
44
|
bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, uint16_t *crc) {
|