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
#endif #endif
void resetEEPROM();
void restoreConfig(); void restoreConfig();
void resetConfig();
#endif #endif

View file

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