Remove status_set_error from ufire_ec (#3792)

This commit is contained in:
Pascal Vizeli 2022-09-13 01:17:33 +02:00 committed by GitHub
parent cbd8d70431
commit ed8f343aad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,6 @@ void UFireECComponent::setup() {
uint8_t version;
if (!this->read_byte(REGISTER_VERSION, &version) && version != 0xFF) {
this->mark_failed();
this->status_set_error();
return;
}
ESP_LOGI(TAG, "Found ufire_ec board version 0x%02X", version);