Skip to content

Commit

Permalink
Fix Tuya v2 module compilation (arendst#20272)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusb authored Dec 20, 2023
1 parent 9e2ae39 commit 04a8414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 04a8414

Please sign in to comment.