Clear JSON buffer.
This commit is contained in:
parent
bd44205b4e
commit
7ebb184c8a
@ -676,6 +676,7 @@ void decodeIRJson(uint32_t code)
|
||||
if (!cmdStr.startsWith("win&")) {
|
||||
cmdStr = "win&" + cmdStr;
|
||||
}
|
||||
fdo.clear(); //clear JSON buffer (it is no longer needed)
|
||||
handleSet(nullptr, cmdStr, false); // no colorUpdated() call here
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user