mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 06:36:45 +00:00
Fix format string warnings in Web Server OTA component (#9569)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
b6e8f6398c
commit
66b6985975
@ -152,7 +152,7 @@ void OTARequestHandler::handleUpload(AsyncWebServerRequest *request, const Strin
|
|||||||
|
|
||||||
// Finalize
|
// Finalize
|
||||||
if (final) {
|
if (final) {
|
||||||
ESP_LOGD(TAG, "OTA final chunk: index=%u, len=%u, total_read=%u, contentLength=%u", index, len,
|
ESP_LOGD(TAG, "OTA final chunk: index=%zu, len=%zu, total_read=%u, contentLength=%zu", index, len,
|
||||||
this->ota_read_length_, request->contentLength());
|
this->ota_read_length_, request->contentLength());
|
||||||
|
|
||||||
// For Arduino framework, the Update library tracks expected size from firmware header
|
// For Arduino framework, the Update library tracks expected size from firmware header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user