diff options
| author | hathach <[email protected]> | 2018-12-21 14:23:36 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-21 14:23:36 +0700 |
| commit | 6ed96cb93b92acf7cce3bd6b84dc5cd8882486c4 (patch) | |
| tree | 5bbe49af29735f6064ce1732afa8d88400b4e307 /src/common/tusb_timeout.h | |
| parent | 27208ad2fdbd7af5080531eafd9a1a20515cedc1 (diff) | |
| parent | 257d60fe1a2f72803fd7fa28cde691f5ca34a046 (diff) | |
Merge pull request #27 from hathach/devlocal
clean up & add dcd_get_frame_number()
Diffstat (limited to 'src/common/tusb_timeout.h')
| -rw-r--r-- | src/common/tusb_timeout.h | 10 |
1 files changed, 0 insertions, 10 deletions
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
|
