From 847a9518efeb6687b4080acbe7ae0cc162e8a308 Mon Sep 17 00:00:00 2001 From: 1technophile Date: Wed, 7 Jun 2017 20:49:38 +0200 Subject: [PATCH] don't diffuse wifi SSID #55 --- OpenMQTTGateway.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenMQTTGateway.ino b/OpenMQTTGateway.ino index cc768e7..c90f9d3 100644 --- a/OpenMQTTGateway.ino +++ b/OpenMQTTGateway.ino @@ -145,6 +145,7 @@ void setup() #ifdef ESP8266 void setup_wifi() { delay(10); + WiFi.mode(WIFI_STA); // We start by connecting to a WiFi network trc(F("Connecting to ")); trc(wifi_ssid);