From e99a095815e748a0455bc207d82ffb917371fa0b Mon Sep 17 00:00:00 2001 From: Benjamin Tayehanpour Date: Sat, 26 Sep 2026 21:38:08 +0000 Subject: [PATCH] stuff --- button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.py b/button.py index b8e007e..525ccfc 100644 --- a/button.py +++ b/button.py @@ -9,5 +9,5 @@ class button: async def start(self): await self.pi.set_mode(self.gpio, asyncpio.INPUT) await self.pi.set_pull_up_down(self.gpio, asyncpio.PUD_UP) - self.pi.set_glitch_filter(self.gpio, 20000) + await self.pi.set_glitch_filter(self.gpio, 20000) self.cb = await self.pi.callback(self.gpio, asyncpio.EITHER_EDGE, self.callback) \ No newline at end of file