We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9b2f3 commit 29a0db1Copy full SHA for 29a0db1
esp32/modules/splash.py
@@ -18,12 +18,12 @@
18
def power_management(timeUntilNextTick):
19
global requestedStandbyTime
20
requestedStandbyTime = timeUntilNextTick
21
- if (timeUntilNextTick>60*5):
+ if (timeUntilNextTick>=60*5):
22
print("[PM] Next tick after more than 5 minutes (MAY BPP).")
23
global enableBpp
24
enableBpp = True
25
power_countdown_reset(0)
26
- elif (timeUntilNextTick<30):
+ elif (timeUntilNextTick<=30):
27
print("[PM] Next loop in "+str(timeUntilNextTick)+" seconds (STAY AWAKE).")
28
power_countdown_reset(timeUntilNextTick)
29
return True #Service loop timer can be restarted
0 commit comments