mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 23:28:13 +00:00
fix clang
This commit is contained in:
parent
529fe0cd13
commit
fb870b6b72
@ -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…
x
Reference in New Issue
Block a user