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