summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 411b6e08b..8b0dd103c 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -113,6 +113,8 @@
* @{ */
// Initialize device/host stack
+// Note: when using with RTOS, this should be called after scheduler/kernel is started.
+// Otherwise it could cause kernel issue since USB IRQ handler does use RTOS queue API.
bool tusb_init(void);
// Check if stack is initialized