diff options
| author | hathach <[email protected]> | 2018-12-14 13:08:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-14 13:08:21 +0700 |
| commit | a3713f801d97b1903593a53c02da682acb3acee0 (patch) | |
| tree | e251dceaf68ab8b8e6b982a180f8e65119f0a872 /src/tusb.h | |
| parent | edf885ca465e16d74833a4866951ca9aa7d4326c (diff) | |
clean up compiler attribute
Diffstat (limited to 'src/tusb.h')
| -rw-r--r-- | src/tusb.h | 1 |
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
|
