This commit is contained in:
Dmitry Borisenko
2022-08-27 01:32:31 +02:00
parent d4f11f2d08
commit 318ddc67da
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class Loging : public IoTItem {
if (filePath == "failed") {
SerialPrint("E", F("Loging"), "'" + id + "' file path not found");
createNewFileWithData(logData);
//return;
return;
}
//считаем количество строк

View File

@@ -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();
}