X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Fxt.h;h=ef1bbfaf972161d4dccdce347955863118a44e50;hb=9cee2723963013a7f3d7a70d3636af5d8c4e0ab0;hp=55efd75de7b1bff437ea3930af0606f96c875e96;hpb=f37805e698a34ce07f10c7f5316f9bbd2a63563b;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/xt.h b/tmk_core/protocol/xt.h index 55efd75d..ef1bbfaf 100644 --- a/tmk_core/protocol/xt.h +++ b/tmk_core/protocol/xt.h @@ -56,20 +56,5 @@ static inline uint16_t wait_clock_lo(uint16_t us) while (clock_in() && us) { asm(""); wait_us(1); us--; } return us; } -static inline uint16_t wait_clock_hi(uint16_t us) -{ - while (!clock_in() && us) { asm(""); wait_us(1); us--; } - return us; -} -static inline uint16_t wait_data_lo(uint16_t us) -{ - while (data_in() && us) { asm(""); wait_us(1); us--; } - return us; -} -static inline uint16_t wait_data_hi(uint16_t us) -{ - while (!data_in() && us) { asm(""); wait_us(1); us--; } - return us; -} #endif