Skip to content

Commit 1060cfc

Browse files
authored
correct missing If
1 parent bbb0665 commit 1060cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OpenMQTTGateway.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ void setup()
244244
Serial.begin(SERIAL_BAUD);
245245

246246
#if defined(ESP8266) || defined(ESP32)
247+
#ifdef ESP8266
247248
#ifndef ZgatewaySRFB // if we are not in sonoff rf bridge case we apply the ESP8266 pin optimization
248249
Serial.end();
249250
Serial.begin(SERIAL_BAUD, SERIAL_8N1, SERIAL_TX_ONLY);// enable on ESP8266 to free some pin

0 commit comments

Comments
 (0)