Skip to content

Commit 0ea431c

Browse files
committed
Hmm
1 parent 0a9cc6f commit 0ea431c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

esp32/modules/launcher.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@ def input_other(pressed):
129129

130130
ugfx.flush(ugfx.LUT_FULL)
131131

132+
def pm_cb(dummy):
133+
appglue.home()
134+
132135
# Power management
133136
virtualtimers.activate(1000) # Start scheduler with 1 second ticks
134137
pm.set_timeout(5*60*1000) # Set timeout to 5 minutes
135-
pm.callback(appglue.home) # Go to splash instead of sleep
138+
pm.callback(pm_cb) # Go to splash instead of sleep
136139
pm.feed() # Feed the power management task, starts the countdown...

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy