Browse Source

eeprom_init from STM32F1/access_start

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
6ee81f0d26
  1. 1
      Marlin/src/HAL/STM32F1/eeprom_wired.cpp

1
Marlin/src/HAL/STM32F1/eeprom_wired.cpp

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

Loading…
Cancel
Save