From 42199c90f8475ca8474a298b349057994a1beb49 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 2 Mar 2018 09:28:03 +0900 Subject: [PATCH] xt_usb: Comment out clock check for PCINT --- tmk_core/protocol/xt_interrupt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmk_core/protocol/xt_interrupt.c b/tmk_core/protocol/xt_interrupt.c index 5531464d..05afefd3 100644 --- a/tmk_core/protocol/xt_interrupt.c +++ b/tmk_core/protocol/xt_interrupt.c @@ -94,8 +94,9 @@ ISR(XT_INT_VECT) static uint8_t data = 0; uint8_t dbit = data_in(); + // This is needed if using PCINT which can be called on both falling and rising edge - if (clock_in()) return; + //if (clock_in()) return; switch (state) { case START: -- 2.46.2