From 9740cbbd48a166f415c0fb60bf00fc9c27e34a20 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Fri, 9 May 2025 16:53:04 +0200 Subject: [PATCH] Comments --- .../builtin/apps/com.example.osupdate/assets/osupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py b/internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py index b6e6fdea..8c093e1f 100644 --- a/internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py +++ b/internal_filesystem/builtin/apps/com.example.osupdate/assets/osupdate.py @@ -67,7 +67,7 @@ def update_with_lvgl(url): i = 0 print(f"Starting OTA update of size: {total_size}") while appscreen == lv.screen_active(): # stop if the user navigates away - time.sleep_ms(100) + time.sleep_ms(100) # don't hog the CPU chunk = response.raw.read(chunk_size) if not chunk: print("No chunk, breaking...")