1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-30 00:52:20 +01:00
This commit is contained in:
J. Nick Koston
2025-09-05 22:07:20 -05:00
parent 52fe034bff
commit 9360601f53
23 changed files with 48 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ static const char *const TAG = "mcp23x08_base";
bool MCP23X08Base::digital_read_hw(uint8_t pin) {
if (!this->read_reg(mcp23x08_base::MCP23X08_GPIO, &this->input_mask_)) {
this->status_set_warning(ESP_LOG_MSG_COMM_FAIL);
this->status_set_warning(LOG_STR(ESP_LOG_MSG_COMM_FAIL));
return false;
}
return true;