mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Make get_flags() in GPIOPin mandatory (#8182)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
@@ -65,6 +65,8 @@ class PCA9554GPIOPin : public GPIOPin {
|
||||
void set_inverted(bool inverted) { inverted_ = inverted; }
|
||||
void set_flags(gpio::Flags flags) { flags_ = flags; }
|
||||
|
||||
gpio::Flags get_flags() const override { return this->flags_; }
|
||||
|
||||
protected:
|
||||
PCA9554Component *parent_;
|
||||
uint8_t pin_;
|
||||
|
||||
Reference in New Issue
Block a user