]> oss.titaniummirror.com Git - rgblamp.git/commitdiff
Debounce for 64 ms instead of 32 ms
authorR. Steve McKown <rsmckown@gmail.com>
Sat, 10 Dec 2011 07:58:26 +0000 (00:58 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Sat, 10 Dec 2011 07:58:26 +0000 (00:58 -0700)
btn.c

diff --git a/btn.c b/btn.c
index 101ec9bf6b24a22a3fbe8381aad7a2a66090fd93..84a73aaedfadedc6b70e252153442175f3ebcfcd 100644 (file)
--- 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);
     }
   }