Commit e7289f69 authored by Stefan Haun's avatar Stefan Haun
Browse files

Fix menu code style

parent 82215071
Pipeline #3506 passed with stages
in 44 seconds
......@@ -277,8 +277,16 @@ if __name__ == "__main__":
sys.print_exception(e)
with display.open() as d:
d.clear(color.COMMYELLOW)
d.print("Menu", posx=52, posy=20, fg=color.COMMYELLOW_DARK, bg=color.COMMYELLOW)
d.print("crashed", posx=31, posy=40, fg=color.COMMYELLOW_DARK, bg=color.COMMYELLOW)
d.print(
"Menu", posx=52, posy=20, fg=color.COMMYELLOW_DARK, bg=color.COMMYELLOW
)
d.print(
"crashed",
posx=31,
posy=40,
fg=color.COMMYELLOW_DARK,
bg=color.COMMYELLOW,
)
d.update()
utime.sleep(2)
os.exit(1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment