@ -21,12 +21,6 @@
*/
#pragma once
//
// EEPROM
void eeprom_init();
void eeprom_write_byte(uint8_t *pos, uint8_t value);
uint8_t eeprom_read_byte(uint8_t *pos);
#include <SPI.h>
using MarlinSPI = SPIClass;
@ -38,12 +38,7 @@
#endif
size_t PersistentStore::capacity() { return MARLIN_EEPROM_SIZE; }
bool PersistentStore::access_finish() {
#if ENABLED(EEPROM_W25Q)
eeprom_hw_deinit();
return true;
}
bool PersistentStore::access_finish() { return true; }
bool PersistentStore::access_start() {
eeprom_init();
@ -21,10 +21,6 @@