]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - btn.c
Debounce for 64 ms instead of 32 ms
[rgblamp.git] / 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);
     }
   }