diff options
| author | Ha Thach <[email protected]> | 2020-09-04 10:46:48 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-04 10:46:48 +0700 |
| commit | ed7a0de3abd12b7fefaeb2fc97607ae7d73d5419 (patch) | |
| tree | 15e3453593465f5879a75fee50e2dbb765d7c6a9 /src/osal/osal.h | |
| parent | f10b8145afb6d7b78fbf31b525951b4137e1d774 (diff) | |
| parent | a8e538efe7d11291e32e016fad5910ebaf9eac43 (diff) | |
Merge pull request #505 from hathach/update-host
Update host
Diffstat (limited to 'src/osal/osal.h')
| -rw-r--r-- | src/osal/osal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osal/osal.h b/src/osal/osal.h index 2e7a3539f..b5057ff4c 100644 --- a/src/osal/osal.h +++ b/src/osal/osal.h @@ -37,9 +37,9 @@ #include "common/tusb_common.h" // Return immediately -#define OSAL_TIMEOUT_NOTIMEOUT (0) +#define OSAL_TIMEOUT_NOTIMEOUT (0) // Default timeout -#define OSAL_TIMEOUT_NORMAL (10) +#define OSAL_TIMEOUT_NORMAL (10) // Wait forever #define OSAL_TIMEOUT_WAIT_FOREVER (UINT32_MAX) @@ -62,7 +62,7 @@ typedef void (*osal_task_func_t)( void * ); //--------------------------------------------------------------------+ // OSAL Porting API //--------------------------------------------------------------------+ -static inline void osal_task_delay(uint32_t msec); +//static inline void osal_task_delay(uint32_t msec); //------------- Semaphore -------------// static inline osal_semaphore_t osal_semaphore_create(osal_semaphore_def_t* semdef); |
