Removed remaining time call

This commit is contained in:
Edward Firmo
2023-10-03 07:45:52 +02:00
parent a7aafdb348
commit b6a5ea76c0

View File

@@ -2486,10 +2486,9 @@ script:
write_len = content_length_ < 4096 ? content_length_ : 4096; write_len = content_length_ < 4096 ? content_length_ : 4096;
id(tf_uart).write_array(&transfer_buffer_[i], write_len); id(tf_uart).write_array(&transfer_buffer_[i], write_len);
content_length_ -= write_len; content_length_ -= write_len;
ESP_LOGD("script.upload_tft.upload_by_chunks", "Uploaded %0.1f %%, remaining %d bytes (%s)", ESP_LOGD("script.upload_tft.upload_by_chunks", "Uploaded %0.1f %%, remaining %d bytes",
100.0 * (tft_size_ - content_length_) / tft_size_, 100.0 * (tft_size_ - content_length_) / tft_size_,
content_length_, content_length_);
remaining_time);
if (!upload_first_chunk_sent_) { if (!upload_first_chunk_sent_) {
upload_first_chunk_sent_ = true; upload_first_chunk_sent_ = true;