mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: increased delay before shutting down to allow slower displays to update (closes #446)
This commit is contained in:
@ -103,7 +103,7 @@ def shutdown():
|
|||||||
if view.ROOT:
|
if view.ROOT:
|
||||||
view.ROOT.on_shutdown()
|
view.ROOT.on_shutdown()
|
||||||
# give it some time to refresh the ui
|
# give it some time to refresh the ui
|
||||||
time.sleep(5)
|
time.sleep(10)
|
||||||
os.system("sync")
|
os.system("sync")
|
||||||
os.system("halt")
|
os.system("halt")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user