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; itemName=topic+pfxlen;
if(!strcmp(itemName,CMDTOPIC)) { if(!strcmp(itemName,CMDTOPIC) && payload && (strlen((char*) payload)>1)) {
// mqttClient.publish(topic, "");
cmd_parse((char *)payload); cmd_parse((char *)payload);
return; return;
} }

View File

@@ -76,7 +76,7 @@ int owUpdate() {
}//if }//if
} //while } //while
debugSerial<<F("1-wire count: ")<<t_count; debugSerial<<F("1-wire count: ")<<t_count<<endl;
#endif #endif
} }