Skip to content

Commit 0e2814a

Browse files
committed
Fix for #15
1 parent be4f155 commit 0e2814a

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
@@ -447,9 +447,9 @@ def _calc_touch_rate(self, ms):
447447

448448
def _handle_alert(self, pin=-1):
449449
inputs = self.get_input_status()
450+
self.clear_interrupt()
450451
for x in range(self.number_of_inputs):
451452
self._trigger_handler(x, inputs[x])
452-
self.clear_interrupt()
453453

454454
def _poll(self):
455455
"""Single polling pass, should be called in

0 commit comments

Comments
 (0)