Comments improvment (#275)

* Comments improvment
This commit is contained in:
Florian authored and GitHub committed 2018-09-22 12:44:58 +02:00
1 parent 6e3a52cbf3
commit f594612dde
1 file changed
+5 -5
+5 -5
View File
@@ -190,13 +190,13 @@ boolean reconnect() {
//Subscribing to topic //Subscribing to topic
if (client.subscribe(subjectMQTTtoX)) { if (client.subscribe(subjectMQTTtoX)) {
#ifdef ZgatewayRF #ifdef ZgatewayRF
client.subscribe(subjectMultiGTWRF); client.subscribe(subjectMultiGTWRF); // subject on which other OMG will publish, this OMG will store these msg and by the way don't republish them if they have been already published
#endif #endif
#ifdef ZgatewayRF315 #ifdef ZgatewayRF315
client.subscribe(subjectMultiGTWRF315); client.subscribe(subjectMultiGTWRF315);// subject on which other OMG will publish, this OMG will store these msg and by the way don't republish them if they have been already published
#endif #endif
#ifdef ZgatewayIR #ifdef ZgatewayIR
client.subscribe(subjectMultiGTWIR); client.subscribe(subjectMultiGTWIR);// subject on which other OMG will publish, this OMG will store these msg and by the way don't republish them if they have been already published
#endif #endif
trc(F("Subscription OK to the subjects")); trc(F("Subscription OK to the subjects"));
} }
@@ -247,7 +247,7 @@ void setup()
#if defined(ESP8266) || defined(ESP32) #if defined(ESP8266) || defined(ESP32)
#ifdef ESP8266 #ifdef ESP8266
Serial.end(); Serial.end();
Serial.begin(SERIAL_BAUD, SERIAL_8N1, SERIAL_TX_ONLY); Serial.begin(SERIAL_BAUD, SERIAL_8N1, SERIAL_TX_ONLY);// enable on ESP8266 to free some pin
#endif #endif
#if defined(ESP8266) && !defined(ESPWifiManualSetup) #if defined(ESP8266) && !defined(ESPWifiManualSetup)
setup_wifimanager(); setup_wifimanager();
@@ -289,7 +289,7 @@ void setup()
}); });
ArduinoOTA.begin(); ArduinoOTA.begin();
#else // In case of arduino #else // In case of arduino platform
//Launch serial for debugging purposes //Launch serial for debugging purposes
Serial.begin(SERIAL_BAUD); Serial.begin(SERIAL_BAUD);