fix(common): Improve linux port

This commit is contained in:
David Cermak committed 2023-06-20 15:15:37 +02:00
1 parent 588465d9db
commit 7d4755f119
10 files changed
+91 -64

No files matched your search

@@ -117,7 +117,7 @@ void vQueueDelete( QueueHandle_t xQueue )
{
struct generic_queue_handle *h = xQueue;
if (h->q) {
if (h->type == MUTEX) {
if (h->type == MUTEX || h->type == MUTEX_REC) {
osal_mutex_delete(h->q);
} else {
osal_queue_delete(h->q);