We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64bd7cf commit cfc04f2Copy full SHA for cfc04f2
internal_filesystem/lib/mpos/bootloader.py
@@ -13,9 +13,8 @@ def onCreate(self):
13
self.setContentView(screen)
14
15
def onResume(self, screen):
16
- # Use a timer, otherwise the UI won't have time to update:
17
- timer = lv.timer_create(self.start_bootloader, 1000, None) # give it some time (at least 500ms) for the new screen animation
18
- timer.set_repeat_count(1)
+ print("Starting start_bootloader time so the UI has time to update")
+ timer = lv.timer_create(self.start_bootloader, 1000, None).set_repeat_count(1)
19
20
def start_bootloader(self, timer):
21
try:
0 commit comments