From e11343480a2da4bc92e1524b74d1cbe91c8c43ae Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 2 Mar 2018 15:06:38 +0900 Subject: [PATCH] xt_usb: Replace function with macro --- tmk_core/protocol/xt_interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/xt_interrupt.c b/tmk_core/protocol/xt_interrupt.c index 08af1b9a..a0c55e9c 100644 --- a/tmk_core/protocol/xt_interrupt.c +++ b/tmk_core/protocol/xt_interrupt.c @@ -97,7 +97,7 @@ ISR(XT_INT_VECT) uint8_t dbit = XT_DATA_READ(); // This is needed if using PCINT which can be called on both falling and rising edge - //if (clock_in()) return; + //if (XT_CLOCK_READ()) return; switch (state) { case START: -- 2.46.2