Implement model backup/restore

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:01 +01:00
parent 8d04e373b6
commit fc4cdfd9ae
10 changed files with 177 additions and 26 deletions
+2
View File
@@ -70,6 +70,8 @@ bool modelExists(uint8_t idx);
bool copyModel(uint8_t dst, uint8_t src);
void swapModels(uint8_t id1, uint8_t id2);
int8_t deleteModel(uint8_t idx);
const char* backupModel(uint8_t idx);
const char * restoreModel(uint8_t idx, char *model_name);
uint8_t findEmptyModel(uint8_t id, bool down);
#endif