mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 17:52:19 +01:00
Merge branch 'loop_done' into integration
This commit is contained in:
@@ -21,10 +21,11 @@ class CaptivePortal : public AsyncWebHandler, public Component {
|
|||||||
void dump_config() override;
|
void dump_config() override;
|
||||||
#ifdef USE_ARDUINO
|
#ifdef USE_ARDUINO
|
||||||
void loop() override {
|
void loop() override {
|
||||||
if (this->dns_server_ != nullptr)
|
if (this->dns_server_ != nullptr) {
|
||||||
this->dns_server_->processNextRequest();
|
this->dns_server_->processNextRequest();
|
||||||
else
|
} else {
|
||||||
this->disable_loop();
|
this->disable_loop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
float get_setup_priority() const override;
|
float get_setup_priority() const override;
|
||||||
|
Reference in New Issue
Block a user