From 902697ca079a179221da92f8cb9f873768a5d0d7 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 17 Dec 2018 12:14:11 +0700 Subject: add dcd_get_microframe() --- src/common/tusb_timeout.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/common') diff --git a/src/common/tusb_timeout.h b/src/common/tusb_timeout.h index 9d80f5fe7..06d5ff5bf 100644 --- a/src/common/tusb_timeout.h +++ b/src/common/tusb_timeout.h @@ -79,16 +79,6 @@ static inline void tu_timeout_restart(tu_timeout_t* tt) tt->start = tusb_hal_millis(); } - -static inline void tu_timeout_wait(uint32_t msec) -{ - tu_timeout_t tt; - tu_timeout_set(&tt, msec); - - // blocking delay - while ( !tu_timeout_expired(&tt) ) { } -} - #ifdef __cplusplus } #endif -- cgit v1.3.1