Update esphome/components/ota/ota_backend_esp8266.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-12-26 22:33:38 -10:00
committed by GitHub
co-authored by Copilot
parent 37de782e3e
commit 15ad89f66d
@@ -223,7 +223,7 @@ bool ESP8266OTABackend::write_buffer_() {
}
bool ESP8266OTABackend::write_buffer_final_() {
// Same as write_buffer_() but without MD5 update (for final padded write)
// Similar to write_buffer_(), but without flash mode patching or MD5 update (for final padded write)
if (this->buffer_len_ == 0) {
return true;
}