From 015a4084416bbaa00a8a391279d153458a7a5ee5 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Thu, 5 Oct 2017 17:06:06 +0200 Subject: [PATCH] Set WiFi to station mode only (disables AP SSID broadcast) --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 0ef945f..e5b5fd1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,6 +59,7 @@ void setup() stairs->init(pwmDriver); _dln("Initializing WiFi"); + WiFi.mode(WIFI_STA); WiFi.hostname(WiFiHostname); WiFi.begin(WiFiSSID, WiFiPassword);