summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-14 13:08:21 +0700
committerhathach <[email protected]>2018-12-14 13:08:21 +0700
commita3713f801d97b1903593a53c02da682acb3acee0 (patch)
treee251dceaf68ab8b8e6b982a180f8e65119f0a872 /src/tusb.h
parentedf885ca465e16d74833a4866951ca9aa7d4326c (diff)
clean up compiler attribute
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