Ignore missing remote.json

This commit is contained in:
Blaz Kristan 2024-02-03 14:40:45 +01:00
parent 8a6ff5a42b
commit 9ce485eade

View File

@ -127,7 +127,7 @@ static bool remoteJson(int button)
JsonObject fdo = pDoc->as<JsonObject>(); JsonObject fdo = pDoc->as<JsonObject>();
if (fdo.isNull()) { if (fdo.isNull()) {
// the received button does not exist // the received button does not exist
if (!WLED_FS.exists("/remote.json")) errorFlag = ERR_FS_RMLOAD; //warn if file itself doesn't exist //if (!WLED_FS.exists("/remote.json")) errorFlag = ERR_FS_RMLOAD; //warn if file itself doesn't exist
releaseJSONBufferLock(); releaseJSONBufferLock();
return parsed; return parsed;
} }