We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4c788 commit bbb0665Copy full SHA for bbb0665
OpenMQTTGateway.ino
@@ -244,9 +244,10 @@ void setup()
244
Serial.begin(SERIAL_BAUD);
245
246
#if defined(ESP8266) || defined(ESP32)
247
- #ifdef ESP8266
248
- Serial.end();
249
- Serial.begin(SERIAL_BAUD, SERIAL_8N1, SERIAL_TX_ONLY);
+ #ifndef ZgatewaySRFB // if we are not in sonoff rf bridge case we apply the ESP8266 pin optimization
+ Serial.end();
+ Serial.begin(SERIAL_BAUD, SERIAL_8N1, SERIAL_TX_ONLY);// enable on ESP8266 to free some pin
250
+ #endif
251
#endif
252
#if defined(ESP8266) && !defined(ESPWifiManualSetup)
253
setup_wifimanager();
0 commit comments