mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Fix MCP23017 setup priority (#751)
Fixes https://github.com/esphome/issues/issues/535
This commit is contained in:
parent
35a725fa1e
commit
95c883ae9b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void MCP23017::pin_mode(uint8_t pin, uint8_t mode) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
float MCP23017::get_setup_priority() const { return setup_priority::HARDWARE; }
|
||||
float MCP23017::get_setup_priority() const { return setup_priority::IO; }
|
||||
bool MCP23017::read_reg_(uint8_t reg, uint8_t *value) {
|
||||
if (this->is_failed())
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue