summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
Diffstat (limited to 'src/class')
-rw-r--r--src/class/usbtmc/usbtmc_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/class/usbtmc/usbtmc_device.c b/src/class/usbtmc/usbtmc_device.c
index 972a450e6..286cbe108 100644
--- a/src/class/usbtmc/usbtmc_device.c
+++ b/src/class/usbtmc/usbtmc_device.c
@@ -261,7 +261,9 @@ void usbtmcd_init_cb(void)
}
bool usbtmcd_deinit(void) {
+ #if OSAL_MUTEX_REQUIRED
osal_mutex_delete(usbtmcLock);
+ #endif
return true;
}