[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:
Daniel Thompson 2020-11-14 20:40:16 +00:00
parent e105c8bb68
commit fd0e0d77aa
3 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)