Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Networking/ESP8266WiFi/WiFiInterface.cpp')
-rw-r--r--src/Networking/ESP8266WiFi/WiFiInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Networking/ESP8266WiFi/WiFiInterface.cpp b/src/Networking/ESP8266WiFi/WiFiInterface.cpp
index f54a52a9..ba4aec9a 100644
--- a/src/Networking/ESP8266WiFi/WiFiInterface.cpp
+++ b/src/Networking/ESP8266WiFi/WiFiInterface.cpp
@@ -2039,7 +2039,7 @@ void WiFiInterface::StartWiFi() noexcept
SetPinFunction(APIN_SerialWiFi_RXD, SerialWiFiPeriphMode); // connect the pins to the UART
#endif
-#if defined(DUET3_MB6HC)
+#if WIFI_USES_ESP32
SERIAL_WIFI_DEVICE.begin(WiFiBaudRate_ESP32); // initialise the UART, to receive debug info
#else
SERIAL_WIFI_DEVICE.begin(WiFiBaudRate); // initialise the UART, to receive debug info