Debug changed

This commit is contained in:
Dmitry Borisenko
2020-09-17 17:27:44 +03:00
parent fc91a60bab
commit 0a212e0933
30 changed files with 157 additions and 148 deletions

View File

@@ -1,6 +1,5 @@
#include "Global.h"
static const char* MODULE = "Widget";
const String getWidgetFile(const String& name);
@@ -8,7 +7,7 @@ bool loadWidget(const String& filename, String& buf) {
buf = readFile(getWidgetFile(filename), 2048);
bool res = !(buf == "Failed" || buf == "Large");
if (!res) {
pm.error("on load" + filename);
SerialPrint("[E]","module","on load" + filename);
}
return res;
}