Skip to content

Commit 3be36e4

Browse files
committed
fix subclass
1 parent 1ab75d5 commit 3be36e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_debouncer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ def _released(self):
163163
not self.active_down and super().fell
164164
)
165165

166-
def update(self):
167-
super().update()
166+
def update(self, new_state=None):
167+
super().update(new_state)
168168
if self._pushed():
169169
self.last_change_ms = ticks_ms()
170170
self.short_counter = self.short_counter + 1

0 commit comments

Comments
 (0)