fix missing if mutex required

This commit is contained in:
hathach 2024-04-08 22:13:05 +07:00
parent c3c0648456
commit 366564e952
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

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