mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -68,7 +68,7 @@ class CaptivePortal : public AsyncWebHandler, public Component {
|
||||
DNSServer *dns_server_{nullptr};
|
||||
};
|
||||
|
||||
extern CaptivePortal *global_captive_portal;
|
||||
extern CaptivePortal *global_captive_portal; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
|
||||
} // namespace captive_portal
|
||||
} // namespace esphome
|
||||
|
||||
Reference in New Issue
Block a user