mirror of
https://github.com/wled/WLED.git
synced 2025-07-17 07:46:32 +00:00
Missing releaseJSONBufferLock() in IR code
This commit is contained in:
parent
4ddc422cfa
commit
47caa2c3a0
@ -593,6 +593,7 @@ void decodeIRJson(uint32_t code)
|
|||||||
lastValidCode = 0;
|
lastValidCode = 0;
|
||||||
if (fdo.isNull()) {
|
if (fdo.isNull()) {
|
||||||
//the received code does not exist
|
//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
|
if (!WLED_FS.exists("/ir.json")) errorFlag = ERR_FS_IRLOAD; //warn if IR file itself doesn't exist
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user