Missing releaseJSONBufferLock() in IR code

This commit is contained in:
Blaz Kristan 2021-11-21 09:33:54 +01:00
parent 4ddc422cfa
commit 47caa2c3a0

View File

@ -593,6 +593,7 @@ void decodeIRJson(uint32_t code)
lastValidCode = 0;
if (fdo.isNull()) {
//the received code does not exist
releaseJSONBufferLock();
if (!WLED_FS.exists("/ir.json")) errorFlag = ERR_FS_IRLOAD; //warn if IR file itself doesn't exist
return;
}