Temperature topicname fixed

This commit is contained in:
2018-10-14 10:43:48 +03:00
parent 687ef7cd99
commit dd44e46f77

View File

@@ -588,7 +588,7 @@ void Changed(int i, DeviceAddress addr, float val) {
return;
}
strcpy_P(addrstr, outprefix);
strncpy(addrstr, owEmit, sizeof(addrstr));
strncat(addrstr, owEmit, sizeof(addrstr));
//strncat(addrstr, addrbuf, sizeof(addrstr));
mqttClient.publish(addrstr, valstr);