eeprom_init from STM32F1/access_start
This commit is contained in:
parent
200ba87d63
commit
6ee81f0d26
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue