Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of stuff: a bugfix in the service routine, moar settings and a c… #70

Merged
merged 1 commit into from
Jul 17, 2017
Merged

Conversation

renzenicolai
Copy link
Member

…ouple of small other things

@annejan annejan merged commit 89f5da8 into SHA2017-badge:master Jul 17, 2017
@@ -2,8 +2,15 @@

def start_app(app):
ugfx.clear(ugfx.WHITE)
ugfx.string(0, 0, "Starting "+app+"...","Roboto_Regular12",ugfx.BLACK)
ugfx.string(0, 0, "Please wait...", "PermanentMarker22", ugfx.BLACK)
if (app==""):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be just if app:, then it also works for None

ugfx.string(0, 0, "Starting "+app+"...","Roboto_Regular12",ugfx.BLACK)
ugfx.string(0, 0, "Please wait...", "PermanentMarker22", ugfx.BLACK)
if (app==""):
ugfx.string(0, 25, "Returning to homescreen...","Roboto_Regular12",ugfx.BLACK)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we expect the homescreen to work I'd be OK with skipping this intermediate text+flush and just rebooting immediately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants