From f26f105c3cdea162d0937de1bafced3bc5c6f2e2 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Sat, 10 Dec 2011 00:58:26 -0700 Subject: [PATCH] Debounce for 64 ms instead of 32 ms --- btn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/btn.c b/btn.c index 101ec9b..84a73aa 100644 --- a/btn.c +++ b/btn.c @@ -30,15 +30,15 @@ void btn_isr() if (IOCIF) { if (IOCBF0) { btn_pbdis(); - tmr_start(TMR_BTN_PB, 1); + tmr_start(TMR_BTN_PB, 2); } if (IOCBF4) { btn_rsdis(); - tmr_start(TMR_BTN_RS, 1); + tmr_start(TMR_BTN_RS, 2); } if (IOCBF5) { btn_rsdis(); - tmr_start(TMR_BTN_RS, 1); + tmr_start(TMR_BTN_RS, 2); } } -- 2.39.2