[http_request] Combine log statements to reduce loop blocking (#12859)

This commit is contained in:
J. Nick Koston
2026-01-03 15:01:01 -10:00
committed by GitHub
parent d7a1ac83ca
commit 5e24469ce3

View File

@@ -105,9 +105,8 @@ uint8_t OtaHttpRequestComponent::do_ota_() {
// we will compute MD5 on the fly for verification -- Arduino OTA seems to ignore it
md5_receive.init();
ESP_LOGV(TAG, "MD5Digest initialized");
ESP_LOGV(TAG, "OTA backend begin");
ESP_LOGV(TAG, "MD5Digest initialized\n"
"OTA backend begin");
auto backend = ota::make_ota_backend();
auto error_code = backend->begin(container->content_length);
if (error_code != ota::OTA_RESPONSE_OK) {