mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
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++) {
|
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;
|
isCmdToSuppress = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user