mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Implement more dump_configs (#791)
This commit is contained in:
@@ -166,6 +166,7 @@ float CaptivePortal::get_setup_priority() const {
|
||||
// Before WiFi
|
||||
return setup_priority::WIFI + 1.0f;
|
||||
}
|
||||
void CaptivePortal::dump_config() { ESP_LOGCONFIG(TAG, "Captive Portal:"); }
|
||||
|
||||
CaptivePortal *global_captive_portal = nullptr;
|
||||
|
||||
|
@@ -18,6 +18,7 @@ class CaptivePortal : public AsyncWebHandler, public Component {
|
||||
public:
|
||||
CaptivePortal(web_server_base::WebServerBase *base);
|
||||
void setup() override;
|
||||
void dump_config() override;
|
||||
void loop() override {
|
||||
if (this->dns_server_ != nullptr)
|
||||
this->dns_server_->processNextRequest();
|
||||
|
Reference in New Issue
Block a user