clean up boolean, move to MQTT screen

This commit is contained in:
proddy
2021-02-23 17:45:48 +01:00
parent 1d64285f09
commit b2e85ee026
16 changed files with 53 additions and 68 deletions

View File

@@ -46,7 +46,7 @@ void APSettingsService::manageAP() {
}
void APSettingsService::startAP() {
Serial.println(F("Starting software access point"));
// Serial.println(F("Starting software access point"));
WiFi.softAPConfig(_state.localIP, _state.gatewayIP, _state.subnetMask);
WiFi.softAP(_state.ssid.c_str(), _state.password.c_str());
if (!_dnsServer) {
@@ -65,7 +65,7 @@ void APSettingsService::stopAP() {
delete _dnsServer;
_dnsServer = nullptr;
}
Serial.println(F("Stopping software access point"));
// Serial.println(F("Stopping software access point"));
WiFi.softAPdisconnect(true);
}