remove deprecated tusb_task, clean up tusb compiler

This commit is contained in:
hathach
2019-05-14 12:03:06 +07:00
parent 61ec407752
commit 3e24daac79
4 changed files with 18 additions and 149 deletions

View File

@@ -101,20 +101,6 @@ bool tusb_inited(void);
// TODO
// bool tusb_teardown(void);
// backward compatible only. TODO remove later
ATTR_DEPRECATED("Please use either tud_task() or tuh_task()")
static inline void tusb_task(void)
{
#if TUSB_OPT_HOST_ENABLED
tuh_task();
#endif
#if TUSB_OPT_DEVICE_ENABLED
tud_task();
#endif
}
/** @} */
#ifdef __cplusplus