X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=tmk_core%2Fprotocol%2Fxt.h;h=e689109c6d6f305a074e35ad65ca8fc4669948f6;hb=acbea7fb15c7d2bbfce7261e7e8acb110438a9e5;hp=ef1bbfaf972161d4dccdce347955863118a44e50;hpb=42199c90f8475ca8474a298b349057994a1beb49;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/xt.h b/tmk_core/protocol/xt.h index ef1bbfaf..e689109c 100644 --- a/tmk_core/protocol/xt.h +++ b/tmk_core/protocol/xt.h @@ -39,22 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef XT_H #define XT_H -#include -#include "wait.h" -#include "xt_io.h" -#include "print.h" - void xt_host_init(void); uint8_t xt_host_recv(void); - -/*-------------------------------------------------------------------- - * static functions - *------------------------------------------------------------------*/ -static inline uint16_t wait_clock_lo(uint16_t us) -{ - while (clock_in() && us) { asm(""); wait_us(1); us--; } - return us; -} - #endif