mirror of
https://github.com/esphome/esphome.git
synced 2025-11-16 23:05:46 +00:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -299,7 +299,7 @@ class WiFiComponent : public Component {
|
||||
bool has_saved_wifi_settings_{false};
|
||||
};
|
||||
|
||||
extern WiFiComponent *global_wifi_component;
|
||||
extern WiFiComponent *global_wifi_component; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
|
||||
template<typename... Ts> class WiFiConnectedCondition : public Condition<Ts...> {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user