eeprom_init from STM32F1/access_start

This commit is contained in:
Scott Lahteine 2020-05-30 22:32:38 -05:00
parent 200ba87d63
commit 6ee81f0d26

View File

@ -39,6 +39,7 @@ size_t PersistentStore::capacity() { return MARLIN_EEPROM_SIZE; }
bool PersistentStore::access_finish() { return true; } bool PersistentStore::access_finish() { return true; }
bool PersistentStore::access_start() { bool PersistentStore::access_start() {
eeprom_init();
#if ENABLED(SPI_EEPROM) #if ENABLED(SPI_EEPROM)
#if SPI_CHAN_EEPROM1 == 1 #if SPI_CHAN_EEPROM1 == 1
SET_OUTPUT(BOARD_SPI1_SCK_PIN); SET_OUTPUT(BOARD_SPI1_SCK_PIN);