We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa2f24 commit 444bbc9Copy full SHA for 444bbc9
libraries/WiFi/src/AP.cpp
@@ -306,7 +306,6 @@ bool APClass::enableNAPT(bool enable) {
306
}
307
308
bool APClass::enableDhcpCaptivePortal() {
309
-#if CONFIG_ESP_ENABLE_DHCP_CAPTIVEPORTAL
310
esp_err_t err = ESP_OK;
311
static char captiveportal_uri[32] = {0,};
312
@@ -341,10 +340,6 @@ bool APClass::enableDhcpCaptivePortal() {
341
340
342
343
return true;
344
-#else
345
- log_e("CONFIG_ESP_ENABLE_DHCP_CAPTIVEPORTAL is not enabled!");
346
- return false;
347
-#endif
348
349
350
String APClass::SSID(void) const {
0 commit comments