From: R. Steve McKown Date: Sat, 10 Dec 2011 07:58:26 +0000 (-0700) Subject: Debounce for 64 ms instead of 32 ms X-Git-Tag: 1.0~23 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=rgblamp.git;a=commitdiff_plain;h=f26f105c3cdea162d0937de1bafced3bc5c6f2e2 Debounce for 64 ms instead of 32 ms --- 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); } }