mirror of https://github.com/arendst/Tasmota.git
Fix Tuya v2 module compilation (#20272)
This commit is contained in:
parent
9e2ae391fc
commit
04a8414217
|
@ -2129,7 +2129,7 @@ void TuyaProcessCommand(unsigned char *buffer){
|
|||
}
|
||||
*/
|
||||
for (uint8_t cmdsID = 0; cmdsID < sizeof(TuyaExcludeCMDsFromMQTT); cmdsID++) {
|
||||
if (pgm_read_byte(TuyaExcludeCMDsFromMQTT +cmdsID) == Tuya.buffer[3]) {
|
||||
if (pgm_read_byte(TuyaExcludeCMDsFromMQTT +cmdsID) == cmd) {
|
||||
isCmdToSuppress = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue