diff options
| author | hathach <[email protected]> | 2019-03-24 01:19:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-03-24 01:19:32 +0700 |
| commit | 18f248b142a477b2134d23a2902d8d7de6e4c195 (patch) | |
| tree | 6dff75edadb85d400198659fdaf118edd5addca9 /src/common | |
| parent | 29e075b8b968806c4a9ebffdbdfacbd9b01cf029 (diff) | |
remove tusb_hal_millis() usage, less work for porting
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_timeout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_timeout.h b/src/common/tusb_timeout.h index bdade6b42..83a4dac63 100644 --- a/src/common/tusb_timeout.h +++ b/src/common/tusb_timeout.h @@ -43,6 +43,8 @@ typedef struct { uint32_t interval;
}tu_timeout_t;
+#if 0
+
extern uint32_t tusb_hal_millis(void);
static inline void tu_timeout_set(tu_timeout_t* tt, uint32_t msec)
@@ -67,6 +69,8 @@ static inline void tu_timeout_restart(tu_timeout_t* tt) tt->start = tusb_hal_millis();
}
+#endif
+
#ifdef __cplusplus
}
#endif
|
