Skip to content

Commit

Permalink
fix vcp error to pass elf test
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Dec 27, 2024
1 parent 9faa301 commit baf4986
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 @@ -872,7 +872,7 @@ commandResult_t TuyaMCU_LinkTuyaMCUOutputToChannel(const void* context, const ch
dpId = Tokenizer_GetArgInteger(0);
dpTypeString = Tokenizer_GetArg(1);
dpType = TuyaMCU_ParseDPType(dpTypeString);
if (argsCount < 2) {
if (argsCount < 3) {
channelID = -999;
}
else {
Expand Down

0 comments on commit baf4986

Please sign in to comment.