diff options
| author | hathach <[email protected]> | 2013-11-15 13:26:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-15 13:26:12 +0700 |
| commit | 05c439e45adec2a29b73d948ecf96af4e0fae375 (patch) | |
| tree | d485364a7da32cbf7034b9a12d09892587b1f19d /tinyusb/osal | |
| parent | fc68439b746a466aa3d0bf197ee3f70cfa079f24 (diff) | |
refractor usbd, first step to make get configuration as sub task
Diffstat (limited to 'tinyusb/osal')
| -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 008264265..0e82b8aa9 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -105,12 +105,12 @@ static inline uint32_t osal_tick_get(void) ATTR_UNUSED static uint32_t timeout = 0;\ static uint16_t state = 0;\ switch(state) {\ - case 0:\ + case 0:{\ #define OSAL_TASK_LOOP_END \ default:\ TASK_RESTART;\ - }\ + }}\ return TUSB_ERROR_NONE; |
