Fix eeprom init glitch
This commit is contained in:
parent
b4aebbe78d
commit
6edc2c3690
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ size_t PersistentStore::capacity() { return EEPROM_SIZE; }
|
||||||
bool PersistentStore::access_finish() { return true; }
|
bool PersistentStore::access_finish() { return true; }
|
||||||
|
|
||||||
bool PersistentStore::access_start() {
|
bool PersistentStore::access_start() {
|
||||||
TERN_(SPI_EEPROM, eeprom_init());
|
TERN_(I2C_EEPROM, eeprom_init());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue