Clean up EEPROM interfaces (#17803)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2020-05-01 00:04:55 -05:00
1 parent a226b281af
commit 2107bc5836
8 files changed
+991 -1068

No files matched your search

+2 -1
View File
@@ -30,6 +30,7 @@
* with implementations supplied by the framework.
*/
#include "../shared/eeprom_if.h"
#include "../shared/eeprom_api.h"
#ifndef EEPROM_SIZE
@@ -40,7 +41,7 @@ size_t PersistentStore::capacity() { return EEPROM_SIZE; }
bool PersistentStore::access_finish() { return true; }
bool PersistentStore::access_start() {
TERN_(I2C_EEPROM, eeprom_init());
eeprom_init();
return true;
}