You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Proper flag
This commit is contained in:
@@ -8,7 +8,7 @@ print("App2 running")
|
||||
should_continue = True
|
||||
|
||||
canary = lv.obj(subwindow)
|
||||
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001 (don't know why I can't find it!)
|
||||
canary.add_flag(lv.obj.FLAG.HIDDEN)
|
||||
|
||||
def app2_thread():
|
||||
count=0
|
||||
|
||||
@@ -10,7 +10,7 @@ spinner_count = 0
|
||||
metrics_label = None
|
||||
|
||||
canary = lv.obj(subwindow)
|
||||
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001
|
||||
canary.add_flag(lv.obj.FLAG.HIDDEN)
|
||||
|
||||
def add_spinner_and_update():
|
||||
global spinner_count, metrics_label
|
||||
|
||||
@@ -78,7 +78,7 @@ results = []
|
||||
n = 1
|
||||
|
||||
canary = lv.obj(subwindow)
|
||||
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001
|
||||
canary.add_flag(lv.obj.FLAG.HIDDEN)
|
||||
|
||||
while canary.get_class():
|
||||
buffer_size = 2 ** n
|
||||
|
||||
Reference in New Issue
Block a user