From 6c4258807efb6d6120c21a3062ee2fc10fb29fa5 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 13 Jun 2018 02:18:46 +0200 Subject: [PATCH] disable AP after successful start --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index bb96e8e..4165844 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,8 +52,8 @@ unsigned char udprecvbuf[1460]; RTC_DATA_ATTR WEBRADIO_STATE_PERSISTANT state_persistant; WEBRADIO_STATE state; -//Create a new Basecamp instance called iot -Basecamp iot; +// Create a new Basecamp instance called iot that will start the ap in open mode and the webserver ui only in setup mode +Basecamp iot{Basecamp::SetupModeWifiEncryption::none, Basecamp::ConfigurationUI::accessPoint}; BME280 bme280; MP3 mp3;