mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 21:33:32 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -20,7 +20,7 @@ class StatusLED : public Component {
|
||||
GPIOPin *pin_;
|
||||
};
|
||||
|
||||
extern StatusLED *global_status_led;
|
||||
extern StatusLED *global_status_led; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
|
||||
} // namespace status_led
|
||||
} // namespace esphome
|
||||
|
||||
Reference in New Issue
Block a user