Skip to content

Commit

Permalink
fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Sep 17, 2024
1 parent c97c74b commit 04e51e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/drv_tuyaMCU.c
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ void TuyaMCU_ProcessIncoming(const byte* data, int len) {
break;
case 0x22:
{
byte data23[1] = 1;
byte data23[1] = { 1 };
addLogAdv(LOG_INFO, LOG_FEATURE_TUYAMCU, "ProcessIncoming: 0x22 replying");
// For example, the module returns 55 aa 00 23 00 01 01 24
TuyaMCU_SendCommandWithData(0x23, data23, 1);
Expand Down

0 comments on commit 04e51e2

Please sign in to comment.