This commit is contained in:
2019-04-26 03:59:47 +03:00
parent 5d0fe62f71
commit 29a95f79c0
2 changed files with 3 additions and 2 deletions

View File

@@ -245,7 +245,8 @@ else
itemName=topic+pfxlen;
if(!strcmp(itemName,CMDTOPIC)) {
if(!strcmp(itemName,CMDTOPIC) && payload && (strlen((char*) payload)>1)) {
// mqttClient.publish(topic, "");
cmd_parse((char *)payload);
return;
}