diff options
| author | hathach <[email protected]> | 2013-04-07 03:40:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-07 03:40:24 +0700 |
| commit | 1776bb53f630295c33ea0d283deadf8a794b8c88 (patch) | |
| tree | 39f553f70c1e24fa8a6cca6fb040de336fad4954 /tinyusb/osal/osal_none.h | |
| parent | b5f7e48ad4767f6d3b79e920c5ca8ff33b0dfca4 (diff) | |
add hal init for USB1 and trying to get USB1 working
add hack delay 100 ms after a port reset (huge) for correct speed detection
Diffstat (limited to 'tinyusb/osal/osal_none.h')
| -rw-r--r-- | tinyusb/osal/osal_none.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index 4fe78311d..41a3801e9 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -67,8 +67,8 @@ static inline void osal_tick_tock(void) osal_tick_current++; } -static inline uint32_t osal_tick_get(void) ATTR_ALWAYS_INLINE; -static inline uint32_t osal_tick_get(void) +static inline volatile uint32_t osal_tick_get(void) ATTR_ALWAYS_INLINE; +static inline volatile uint32_t osal_tick_get(void) { return osal_tick_current; } |
