Skip to content

Commit

Permalink
refactor(OTA): refactor _task
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Jun 21, 2024
1 parent 1f789a4 commit 69a24ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace ESPAdmin

if (err == ESP_ERR_HTTPS_OTA_IN_PROGRESS)
{
if (imageReadNow - imageReadPrev > 30000) // progress state is updated every 30Kb
if (imageReadNow - imageReadPrev > 50000) // progress state is updated every 50Kb
{
Update::onProgress(imageReadNow);
imageReadPrev = imageReadNow;
Expand Down

0 comments on commit 69a24ad

Please sign in to comment.