From: tmk Date: Fri, 2 Mar 2018 06:06:38 +0000 (+0900) Subject: xt_usb: Replace function with macro X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=e11343480a2da4bc92e1524b74d1cbe91c8c43ae;p=max%2Ftmk_keyboard.git xt_usb: Replace function with macro --- 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: