mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
fix clang
This commit is contained in:
parent
529fe0cd13
commit
fb870b6b72
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class NullPin : public GPIOPin {
|
||||||
std::string dump_summary() const override { return {"Not used"}; }
|
std::string dump_summary() const override { return {"Not used"}; }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GPIOPin *const NULL_PIN = new NullPin();
|
static GPIOPin *const NULL_PIN = new NullPin(); // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
|
|
||||||
/// Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
|
/// Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
|
||||||
class ISRInternalGPIOPin {
|
class ISRInternalGPIOPin {
|
||||||
|
|
Loading…
Reference in a new issue