fix vcp error to pass elf test

This commit is contained in:
Tester23
2024-12-27 19:40:12 +01:00
parent 9faa30191e
commit baf49865ac

View File

@ -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 {