Merge pull request #2236 from scottrbailey/ir_bri_fix

Add colorUpdated call
This commit is contained in:
Blaž Kristan 2021-09-29 17:44:20 +02:00 committed by GitHub
commit 7d929dcde6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -619,6 +619,7 @@ void decodeIRJson(uint32_t code)
} }
handleSet(nullptr, cmdStr, false); handleSet(nullptr, cmdStr, false);
} }
colorUpdated(CALL_MODE_BUTTON);
} else if (!jsonCmdObj.isNull()) { } else if (!jsonCmdObj.isNull()) {
// command is JSON object // command is JSON object
//allow applyPreset() to reuse JSON buffer, or it would alloc. a second buffer and run out of mem. //allow applyPreset() to reuse JSON buffer, or it would alloc. a second buffer and run out of mem.