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
8d8939eaf4
commit
4ae6b8bcbf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue