[IR] Fix errors noticed when sending IR codes (#1991)
This commit is contained in:
1 parent
35124f2af8
commit
ada83bf227
2 files changed
+2
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user