diff options
| author | hathach <[email protected]> | 2018-12-13 13:49:09 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-13 13:49:09 +0700 |
| commit | bc46dc6edf3ff4bb72fb36e74b8a7d3da447d2d4 (patch) | |
| tree | fc8042f6113d6dc224543d00578759eb6a0c60f4 /src/tusb_option.h | |
| parent | b562fa741b5a8bb47d4e32c0a0f2600b72993b9a (diff) | |
osal clean up
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task
and call tinyusb_task(). This make API consistent with NO OS.
Diffstat (limited to 'src/tusb_option.h')
| -rw-r--r-- | src/tusb_option.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index 8b2e59b17..07d8387e3 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -224,11 +224,6 @@ //------------------------------------------------------------------
// Configuration Validation
//------------------------------------------------------------------
-
-#if (CFG_TUSB_OS != OPT_OS_NONE) && !defined (CFG_TUD_TASK_PRIO)
- #error CFG_TUD_TASK_PRIO need to be defined (hint: use the highest if possible)
-#endif
-
#if CFG_TUD_ENDOINT0_SIZE > 64
#error Control Endpoint Max Packet Size cannot be larger than 64
#endif
|
