[IR] Fix errors noticed when sending IR codes (#1991)

This commit is contained in:
James Coleman authored and GitHub committed 2024-07-17 10:26:41 -05:00
1 parent 35124f2af8
commit ada83bf227
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -174,6 +174,7 @@ void MQTTtoIR(char* topicOri, JsonObject& IRdata) {
}
if (data != 0 || raw) {
Log.trace(F("MQTTtoIR value || raw detected" CR));
irrecv.disableIRIn();
bool signalSent = false;
const char* protocol_name = IRdata["protocol_name"];
unsigned int valueBITS = IRdata["bits"] | 0;