1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-25 22:52:20 +01:00
This commit is contained in:
J. Nick Koston
2025-08-10 18:30:28 -05:00
parent 4faa9231a9
commit ef676a5a77

View File

@@ -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