use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX
add macro to swallow mutex API in order to simplify code with mutex
This commit is contained in:
		| @@ -299,9 +299,6 @@ typedef int make_iso_compilers_happy; | ||||
|   #define CFG_TUSB_OS_INC_PATH | ||||
| #endif | ||||
|  | ||||
| // mutex is only needed for RTOS TODO also required with multiple core MCUs | ||||
| #define TUSB_OPT_MUTEX      (CFG_TUSB_OS != OPT_OS_NONE) | ||||
|  | ||||
| //-------------------------------------------------------------------- | ||||
| // Device Options (Default) | ||||
| //-------------------------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach