mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fix clang
This commit is contained in:
parent
8d8939eaf4
commit
4ae6b8bcbf
@ -39,7 +39,7 @@ struct ISRPinArg {
|
||||
};
|
||||
|
||||
ISRInternalGPIOPin ZephyrGPIOPin::to_isr() const {
|
||||
auto *arg = new ISRPinArg{};
|
||||
auto *arg = new ISRPinArg{}; // NOLINT(cppcoreguidelines-owning-memory)
|
||||
arg->pin = this->pin_;
|
||||
arg->inverted = this->inverted_;
|
||||
return ISRInternalGPIOPin((void *) arg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user