1 parent 74ebd29 commit 906cf55Copy full SHA for 906cf55
1 file changed
lib/Variables/VariableDictionary.cpp
@@ -38,6 +38,7 @@ String VariableDictionary::get(const String &key) {
38
}
39
40
void VariableDictionary::clear() {
41
+ SPIFFS.remove(VariableDictionary::FILENAME);
42
SPIFFS.open(VariableDictionary::FILENAME, "w").close();
43
44
db.open(SPIFFS.open(VariableDictionary::FILENAME, "r+"));
0 commit comments