From: Michael Gernoth Date: Fri, 19 Aug 2011 12:05:55 +0000 (+0200) Subject: better hw debounce time X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/ms2-fixes/commitdiff_plain/f556e8c9b3f5b6a124784412e238dd1ac02d226c better hw debounce time --- diff --git a/MS2Debounce/assets/debounce.ko b/MS2Debounce/assets/debounce.ko index 456f4c1..a93c392 100644 Binary files a/MS2Debounce/assets/debounce.ko and b/MS2Debounce/assets/debounce.ko differ diff --git a/debounce.c b/debounce.c index 46c0a63..9511212 100644 --- a/debounce.c +++ b/debounce.c @@ -5,7 +5,7 @@ #include /* hardware debounce: (value + 1) * 31us */ -#define GPIO_DEBOUNCE_TIME 10240 +#define GPIO_DEBOUNCE_TIME 0x3 #define PREFIX "debounce: "