Skip to content

Commit e6f39b4

Browse files
committed
Fix bug
1 parent 25f8c8e commit e6f39b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/modules/splash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def power_management(timeUntilNextTick):
1919
global requestedStandbyTime
2020
requestedStandbyTime = timeUntilNextTick
21-
if (timeUntilNextTick>=60*5):
21+
if timeUntilNextTick<0 or timeUntilNextTick>=60*5:
2222
print("[PM] Next tick after more than 5 minutes (MAY BPP).")
2323
global enableBpp
2424
enableBpp = True

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