summaryrefslogtreecommitdiff
path: root/src/tusb.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-13 14:51:37 +0700
committerhathach <[email protected]>2018-12-13 14:51:37 +0700
commit1c49c479cabf1be9b1c22017c42a8480b26cebcb (patch)
tree3b2df7468fedc34fcda895524f09c78f36ae7020 /src/tusb.c
parentaf1ffe4675ca9eeeebd47a82f3508eecdc1486c5 (diff)
seperate tusb_task() to tud_task() and tuh_task()
tusb_task() still exists for backward compatible
Diffstat (limited to 'src/tusb.c')
-rw-r--r--src/tusb.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tusb.c b/src/tusb.c
index 253adc59c..ad2dcbfd3 100644
--- a/src/tusb.c
+++ b/src/tusb.c
@@ -68,17 +68,6 @@ bool tusb_init(void)
return TUSB_ERROR_NONE;
}
-void tusb_task(void)
-{
- #if TUSB_OPT_HOST_ENABLED
- usbh_task();
- #endif
-
- #if TUSB_OPT_DEVICE_ENABLED
- usbd_task();
- #endif
-}
-
/*------------------------------------------------------------------*/
/* Debug
*------------------------------------------------------------------*/