mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01:00
fix wrong port multiplexer name in dump GPIO function (#4592)
This commit is contained in:
parent
e13eaf6706
commit
c16709ed95
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ bool SX1509GPIOPin::digital_read() { return this->parent_->digital_read(this->pi
|
|||
void SX1509GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); }
|
||||
std::string SX1509GPIOPin::dump_summary() const {
|
||||
char buffer[32];
|
||||
snprintf(buffer, sizeof(buffer), "%u via MCP23016", pin_);
|
||||
snprintf(buffer, sizeof(buffer), "%u via sx1509", pin_);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue