fix missing if mutex required

This commit is contained in:
hathach
2024-04-08 22:13:05 +07:00
parent c3c0648456
commit 366564e952

View File

@@ -261,7 +261,9 @@ void usbtmcd_init_cb(void)
} }
bool usbtmcd_deinit(void) { bool usbtmcd_deinit(void) {
#if OSAL_MUTEX_REQUIRED
osal_mutex_delete(usbtmcLock); osal_mutex_delete(usbtmcLock);
#endif
return true; return true;
} }