mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 06:32:22 +01:00
preen
This commit is contained in:
@@ -201,7 +201,7 @@ void ESPHomeOTAComponent::handle_data_() {
|
|||||||
|
|
||||||
// Read features - 1 byte
|
// Read features - 1 byte
|
||||||
if (!this->readall_(buf, 1)) {
|
if (!this->readall_(buf, 1)) {
|
||||||
ESP_LOGW(TAG, "Read features failed");
|
this->log_socket_error_("reading features");
|
||||||
goto error; // NOLINT(cppcoreguidelines-avoid-goto)
|
goto error; // NOLINT(cppcoreguidelines-avoid-goto)
|
||||||
}
|
}
|
||||||
ota_features = buf[0]; // NOLINT
|
ota_features = buf[0]; // NOLINT
|
||||||
|
Reference in New Issue
Block a user