summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-21 14:23:36 +0700
committerGitHub <[email protected]>2018-12-21 14:23:36 +0700
commit6ed96cb93b92acf7cce3bd6b84dc5cd8882486c4 (patch)
tree5bbe49af29735f6064ce1732afa8d88400b4e307 /src/tusb.h
parent27208ad2fdbd7af5080531eafd9a1a20515cedc1 (diff)
parent257d60fe1a2f72803fd7fa28cde691f5ca34a046 (diff)
Merge pull request #27 from hathach/devlocal
clean up & add dcd_get_frame_number()
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