]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - buttons.h
Update buttons_sleep() for auto-off restart case
[rgblamp.git] / buttons.h
index 39b96e12050dd48f2e8b48940c1adeef17165c80..63791acb0bcdea9b534e9445fae7fde766f945eb 100644 (file)
--- a/buttons.h
+++ b/buttons.h
@@ -20,8 +20,6 @@
  */
 #define buttons_init() do { \
     nWPUEN = 0; /* enable weak pull-ups on PortB */ \
-    IOCBN4 = 1; \
-    IOCBN5 = 1; \
     TRISB |= IN_MASK; \
     ANSELB &= ~IN_MASK; \
 } while (0)