mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 15:16:37 +00:00
keep mcp2515 since it has error flags
This commit is contained in:
parent
9cd657e8f5
commit
65f7426ceb
@ -23,6 +23,7 @@ bool MCP2515::setup_internal() {
|
||||
if (this->set_mode_(this->mcp_mode_) != canbus::ERROR_OK)
|
||||
return false;
|
||||
uint8_t err_flags = this->get_error_flags_();
|
||||
ESP_LOGD(TAG, "mcp2515 setup done, error_flags = %02X", err_flags);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user