mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
.
This commit is contained in:
@@ -54,7 +54,7 @@ class Loging : public IoTItem {
|
|||||||
if (filePath == "failed") {
|
if (filePath == "failed") {
|
||||||
SerialPrint("E", F("Loging"), "'" + id + "' file path not found");
|
SerialPrint("E", F("Loging"), "'" + id + "' file path not found");
|
||||||
createNewFileWithData(logData);
|
createNewFileWithData(logData);
|
||||||
//return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//считаем количество строк
|
//считаем количество строк
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ void cleanDirectory(String path) {
|
|||||||
while (dir.next()) {
|
while (dir.next()) {
|
||||||
String fname = dir.fileName();
|
String fname = dir.fileName();
|
||||||
removeFile(path + "/" + fname);
|
removeFile(path + "/" + fname);
|
||||||
SerialPrint("I", "Files", fname + " deleted");
|
SerialPrint("I", "Files", path + "/" + fname + " => deleted");
|
||||||
}
|
}
|
||||||
onFlashWrite();
|
onFlashWrite();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user