Skip to content

Commit 9740cbb

Browse files
Comments
1 parent 8af77c6 commit 9740cbb

File tree

1 file changed

+1
-1
lines changed
  • internal_filesystem/builtin/apps/com.example.osupdate/assets

1 file changed

+1
-1
lines changed

internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def progress_callback(percent):
6767
i = 0
6868
print(f"Starting OTA update of size: {total_size}")
6969
while appscreen == lv.screen_active(): # stop if the user navigates away
70-
time.sleep_ms(100)
70+
time.sleep_ms(100) # don't hog the CPU
7171
chunk = response.raw.read(chunk_size)
7272
if not chunk:
7373
print("No chunk, breaking...")

0 commit comments

Comments
 (0)