Skip to content

Commit ef34015

Browse files
committed
Updated to less bonkers interrupt poll delay
1 parent b99990c commit ef34015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/cap1xxx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def wait_for_interrupt(self, timeout=100):
368368
return True
369369
if self._millis() > start + timeout:
370370
return False
371-
time.sleep(0.000001)
371+
time.sleep(0.005)
372372

373373
def on(self, channel=0, event='press', handler=None):
374374
self.handlers[event][channel] = handler

0 commit comments

Comments
 (0)