mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Add virtual get_flags() to GPIOPin and implementation in InternalGPIOPin derivatives (#8151)
This commit is contained in:
@@ -22,6 +22,7 @@ class ESP8266GPIOPin : public InternalGPIOPin {
|
||||
void detach_interrupt() const override;
|
||||
ISRInternalGPIOPin to_isr() const override;
|
||||
uint8_t get_pin() const override { return pin_; }
|
||||
gpio::Flags get_flags() const override { return flags_; }
|
||||
bool is_inverted() const override { return inverted_; }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user