We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8af77c6 commit 9740cbbCopy full SHA for 9740cbb
internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py
@@ -67,7 +67,7 @@ def progress_callback(percent):
67
i = 0
68
print(f"Starting OTA update of size: {total_size}")
69
while appscreen == lv.screen_active(): # stop if the user navigates away
70
- time.sleep_ms(100)
+ time.sleep_ms(100) # don't hog the CPU
71
chunk = response.raw.read(chunk_size)
72
if not chunk:
73
print("No chunk, breaking...")
0 commit comments