From 9cee2723963013a7f3d7a70d3636af5d8c4e0ab0 Mon Sep 17 00:00:00 2001 From: X64051 Date: Sat, 24 Jun 2017 20:54:46 +0200 Subject: [PATCH] remove unused functions --- tmk_core/protocol/xt.h | 15 --------------- 1 file changed, 15 deletions(-) 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 -- 2.39.3