summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 3a13bbecc..389bf54d4 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -109,6 +109,7 @@ bool tusb_init(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