fix clang

This commit is contained in:
Tomasz Duda 2024-07-24 19:49:05 +02:00
parent 529fe0cd13
commit fb870b6b72

View file

@ -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 {