From: X64051 Date: Sat, 24 Jun 2017 18:54:46 +0000 (+0200) Subject: remove unused functions X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=9cee2723963013a7f3d7a70d3636af5d8c4e0ab0;p=max%2Ftmk_keyboard.git remove unused functions --- 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