Merge pull request #55 from loredan/master

Partial fix for #54 

requires one other edit to fix the bug completely, merging for now and will fix after
This commit is contained in:
Alan Weinstock 2019-10-29 15:44:58 -07:00 committed by GitHub
commit a0cc8b4ac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@
#endif
#endif
void resetEEPROM();
void restoreConfig();
void resetConfig();
#endif

View file

@ -223,7 +223,7 @@ void updateParams() {
serialPrintConfig();
}
else if (strcmp(serialMessageIn, "RESET") == 0) {
resetConfig();
resetEEPROM();
serialPrintConfig();
}
else if (strcmp(serialMessageIn, "STATE") == 0) {