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 2cdd339 commit b8b085cCopy full SHA for b8b085c
esp32/modules/tasks/services.py
@@ -158,15 +158,15 @@ def draw_task():
158
159
badge.eink_busy_wait()
160
161
- if requestedInterval>=99999999:
162
- print("[SERVICES] No draw interval returned.")
163
- requestedInterval = -1
164
-
165
if requestedInterval<1000:
166
#Draw at most once a second
167
print("[SERVICES] Can't draw more than once a second!")
168
requestedInterval = 1000
169
+ if requestedInterval>=99999999:
+ print("[SERVICES] No draw interval returned.")
+ requestedInterval = -1
+
170
retVal = 0
171
172
if len(drawCallbacks)>0 and requestedInterval>=0:
0 commit comments