mirror of
https://github.com/esphome/esphome.git
synced 2025-09-20 20:22:27 +01:00
fix clang
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user