Skip to content

Commit 2b6a986

Browse files
committed
text changes
1 parent 4948272 commit 2b6a986

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/framework/APSettingsService.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,23 @@ void APSettingsService::manageAP() {
4646
}
4747

4848
void APSettingsService::startAP() {
49-
emsesp::EMSESP::logger().info(F("Starting software Access Point"));
5049
WiFi.softAPConfig(_state.localIP, _state.gatewayIP, _state.subnetMask);
5150
WiFi.softAP(_state.ssid.c_str(), _state.password.c_str());
5251
if (!_dnsServer) {
5352
IPAddress apIp = WiFi.softAPIP();
54-
emsesp::EMSESP::logger().info(F("Starting captive portal on %s"), apIp.toString().c_str());
53+
emsesp::EMSESP::logger().info(F("Starting Access Point with captive portal on %s"), apIp.toString().c_str());
5554
_dnsServer = new DNSServer;
5655
_dnsServer->start(DNS_PORT, "*", apIp);
5756
}
5857
}
5958

6059
void APSettingsService::stopAP() {
6160
if (_dnsServer) {
62-
emsesp::EMSESP::logger().info(F("Stopping captive portal"));
61+
emsesp::EMSESP::logger().info(F("Stopping Access Point"));
6362
_dnsServer->stop();
6463
delete _dnsServer;
6564
_dnsServer = nullptr;
6665
}
67-
emsesp::EMSESP::logger().info(F("Stopping software Access Point"));
6866
WiFi.softAPdisconnect(true);
6967
}
7068

0 commit comments

Comments
 (0)