http server debug print idf5 fix

This commit is contained in:
Bogdan Pilyugin 2023-06-16 16:33:29 +02:00
parent d307a365a9
commit c6035b15d7

View File

@ -440,7 +440,7 @@ static esp_err_t GETHandler(httpd_req_t *req)
while (bufSize > 0); while (bufSize > 0);
#if HTTP_SERVER_DEBUG_LEVEL > 0 #if HTTP_SERVER_DEBUG_LEVEL > 0
ESP_LOGI(TAG, "File sending complete, read from file %d", readBytes); ESP_LOGI(TAG, "File sending complete, read from file %d", (int)readBytes);
#endif #endif
/* Respond with an empty chunk to signal HTTP response completion */ /* Respond with an empty chunk to signal HTTP response completion */