mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 22:52:19 +03:00
262 Logging added, working version
This commit is contained in:
@@ -20,10 +20,10 @@ void removeFile(const String& filename) {
|
||||
String path = filepath(filename);
|
||||
if (LittleFS.exists(path)) {
|
||||
if (!LittleFS.remove(path)) {
|
||||
SerialPrint("[E]","Files","remove " + path);
|
||||
SerialPrint("I","Files","remove " + path);
|
||||
}
|
||||
} else {
|
||||
SerialPrint("I","Files","not exist" + path);
|
||||
SerialPrint("E","Files","not exist" + path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user