diff options
Diffstat (limited to 'src/tusb.h')
| -rw-r--r-- | src/tusb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tusb.h b/src/tusb.h index 55c105121..c252a5789 100644 --- a/src/tusb.h +++ b/src/tusb.h @@ -95,6 +95,10 @@ #if CFG_TUD_NET #include "class/net/net_device.h" #endif + + #if CFG_TUD_BTH + #include "class/bth/bth_device.h" + #endif #endif @@ -105,6 +109,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 |
