We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933dfe2 commit 9ab3abfCopy full SHA for 9ab3abf
m5stack/modules/startup/tab5/launcher/launcher.py
@@ -7,6 +7,7 @@
7
from .apps import *
8
import lvgl as lv
9
import asyncio
10
+import M5
11
12
13
class Launcher:
@@ -99,7 +100,10 @@ async def _main(self):
99
100
# Start ezdata service
101
# Ezdata.start()
102
- # Keep app manager running
103
- while True:
104
- await asyncio.sleep_ms(50)
105
- await AppManager.update()
+ try:
+ # Keep app manager running
+ while True:
106
+ await asyncio.sleep_ms(50)
107
+ await AppManager.update()
108
+ except KeyboardInterrupt:
109
+ M5.Lcd.lvgl_deinit()
0 commit comments