Skip to content

Commit 29a0db1

Browse files
committed
Times now include 5 minutes and 30 seconds.
1 parent 0f9b2f3 commit 29a0db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp32/modules/splash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
def power_management(timeUntilNextTick):
1919
global requestedStandbyTime
2020
requestedStandbyTime = timeUntilNextTick
21-
if (timeUntilNextTick>60*5):
21+
if (timeUntilNextTick>=60*5):
2222
print("[PM] Next tick after more than 5 minutes (MAY BPP).")
2323
global enableBpp
2424
enableBpp = True
2525
power_countdown_reset(0)
26-
elif (timeUntilNextTick<30):
26+
elif (timeUntilNextTick<=30):
2727
print("[PM] Next loop in "+str(timeUntilNextTick)+" seconds (STAY AWAKE).")
2828
power_countdown_reset(timeUntilNextTick)
2929
return True #Service loop timer can be restarted

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