Fixed config reset #54 #bugfix
This commit is contained in:
parent
9e2862ca08
commit
8fea926ace
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void resetEEPROM();
|
||||||
void restoreConfig();
|
void restoreConfig();
|
||||||
void resetConfig();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue