Skip to content

Commit 92b06df

Browse files
committed
Forgot setting a variable to global.
1 parent bfd2b4e commit 92b06df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp32/modules/services.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def loop_timer_callback(tmr):
183183
easywifi.disable() # Always disable wifi
184184

185185
try:
186+
global pmCallback
186187
if pmCallback(requestedInterval):
187188
print("[SERVICES] Loop timer (re-)started")
188189
tmr.init(period=requestedInterval*1000, mode=machine.Timer.ONE_SHOT, callback=loop_timer_callback)

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