[SYS] Breaking remove version publication (#1737)
Redundant with the publication into SYStoMQTT and also inconsistent with the main publication format used by the project (json)
This commit is contained in:
1 parent
61d6a8b879
commit
84e6f46206
1 file changed
-2
@@ -710,8 +710,6 @@ void connectMQTT() {
|
|||||||
failure_number_mqtt = 0;
|
failure_number_mqtt = 0;
|
||||||
// Once connected, publish an announcement...
|
// Once connected, publish an announcement...
|
||||||
pub(will_Topic, Gateway_AnnouncementMsg, will_Retain);
|
pub(will_Topic, Gateway_AnnouncementMsg, will_Retain);
|
||||||
// publish version
|
|
||||||
pub(version_Topic, OMG_VERSION, will_Retain);
|
|
||||||
//Subscribing to topic
|
//Subscribing to topic
|
||||||
char topic2[mqtt_topic_max_size];
|
char topic2[mqtt_topic_max_size];
|
||||||
strcpy(topic2, mqtt_topic);
|
strcpy(topic2, mqtt_topic);
|
||||||
|
|||||||
Reference in new issue
Block a user