update use of mutex for host

This commit is contained in:
hathach
2022-03-09 12:26:56 +07:00
parent f920e1c171
commit 2f593e767c
3 changed files with 59 additions and 42 deletions

View File

@@ -285,6 +285,9 @@
#define CFG_TUSB_OS_INC_PATH
#endif
// mutex is only needed for RTOS
#define TUSB_OPT_MUTEX (CFG_TUSB_OS != OPT_OS_NONE)
//--------------------------------------------------------------------
// DEVICE OPTIONS
//--------------------------------------------------------------------