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.c | |
| 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.c')
| -rw-r--r-- | src/tusb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tusb.c b/src/tusb.c index 4f7996664..fd390722b 100644 --- a/src/tusb.c +++ b/src/tusb.c @@ -68,7 +68,6 @@ bool tusb_init(void) return TUSB_ERROR_NONE;
}
-#if CFG_TUSB_OS == OPT_OS_NONE
void tusb_task(void)
{
#if TUSB_OPT_HOST_ENABLED
@@ -79,8 +78,6 @@ void tusb_task(void) usbd_task(NULL);
#endif
}
-#endif
-
/*------------------------------------------------------------------*/
/* Debug
|
