[pinetime,p8,k9]: Show when main.py is running
This is yet another step towards making the role of main.py more obvious. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
e105c8bb68
commit
fd0e0d77aa
3 changed files with 6 additions and 6 deletions
|
@ -129,9 +129,9 @@ try:
|
|||
if not safe_mode:
|
||||
boot_msg("Enter /flash")
|
||||
os.chdir('/flash')
|
||||
boot_msg("Run main.py")
|
||||
boot_msg("main.py")
|
||||
else:
|
||||
boot_msg("Safe mode")
|
||||
except:
|
||||
drawable.string("FAILED", 0, 136, width=240)
|
||||
backlight.set(2)
|
||||
backlight.set(2)
|
||||
|
|
|
@ -117,9 +117,9 @@ try:
|
|||
if not safe_mode:
|
||||
boot_msg("Enter /flash")
|
||||
os.chdir('/flash')
|
||||
boot_msg("Run main.py")
|
||||
boot_msg("main.py")
|
||||
else:
|
||||
boot_msg("Safe mode")
|
||||
except:
|
||||
drawable.string("FAILED", 0, 136, width=240)
|
||||
backlight.set(1)
|
||||
backlight.set(1)
|
||||
|
|
|
@ -119,9 +119,9 @@ try:
|
|||
if not safe_mode:
|
||||
boot_msg("Enter /flash")
|
||||
os.chdir('/flash')
|
||||
boot_msg("Run main.py")
|
||||
boot_msg("main.py")
|
||||
else:
|
||||
boot_msg("Safe mode")
|
||||
except:
|
||||
drawable.string("FAILED", 0, 136, width=240)
|
||||
backlight.set(1)
|
||||
backlight.set(1)
|
||||
|
|
Loading…
Reference in a new issue