You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
No more crashes, still exits sometimes
This commit is contained in:
@@ -123,7 +123,7 @@ app_store = AppStore(subwindow, "http://demo.lnpiggy.com:2121/apps.json")
|
||||
|
||||
# Wait until the user stops the app
|
||||
import time
|
||||
while appscreen == lv.screen_active() or (app_store.app_detail_screen and app_store.app_detail_screen == lv.screen_active()):
|
||||
time.sleep_ms(50)
|
||||
while (app_store.app_detail_screen and app_store.app_detail_screen == lv.screen_active()) or appscreen == lv.screen_active():
|
||||
time.sleep_ms(100)
|
||||
|
||||
print("reached end of appstore")
|
||||
|
||||
Reference in New Issue
Block a user