Browse Source

disable AP after successful start

main
Hendrik Langer 6 years ago
parent
commit
6c4258807e
  1. 4
      src/main.cpp

4
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;

Loading…
Cancel
Save