EEPROM on Sky9x

This commit is contained in:
Bertrand Songis
2015-04-19 22:37:55 +02:00
committed by bsongis
parent c6cf0f915e
commit 1964ac207c
14 changed files with 476 additions and 571 deletions
+6 -2
View File
@@ -116,8 +116,8 @@ extern EeFs eeFs;
#define BLOCKS_OFFSET (RESV-BS)
#endif
int8_t EeFsck();
void EeFsFormat();
int8_t eepromCheck();
void eepromFormat();
uint16_t EeFsGetFree();
#if !defined(CPUARM)
@@ -247,6 +247,10 @@ void loadGeneralSettings();
void loadModel(int index);
#endif
bool eepromOpen();
void eeLoadModelName(uint8_t id, char *name);
bool eeLoadGeneral();
// For EEPROM backup/restore
#if defined(CPUARM)
inline bool isEepromStart(const void * buffer)