diff options
| author | hathach <[email protected]> | 2023-08-03 11:07:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-03 11:07:23 +0700 |
| commit | d09604d6364f4840669eda66a75f5df0926bb3e0 (patch) | |
| tree | 473187bec31df1d2e3c851e4939f983c7d7c3bf2 /src/osal | |
| parent | 11fba59319d81fb9502fbf399abb4fe27cf3fa29 (diff) | |
Revert "Name queues for easier FreeRTOS debugging with task- and queue-aware debuggers"
This reverts commit 11fba59319d81fb9502fbf399abb4fe27cf3fa29.
Diffstat (limited to 'src/osal')
| -rw-r--r-- | src/osal/osal_freertos.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osal/osal_freertos.h b/src/osal/osal_freertos.h index e83277eb3..0b1b11589 100644 --- a/src/osal/osal_freertos.h +++ b/src/osal/osal_freertos.h @@ -56,7 +56,7 @@ typedef SemaphoreHandle_t osal_mutex_t; // _int_set is not used with an RTOS #define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \ static _type _name##_##buf[_depth];\ - osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, .pQueueName = #_name }; + osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf }; typedef struct { @@ -66,7 +66,6 @@ typedef struct #if configSUPPORT_STATIC_ALLOCATION StaticQueue_t sq; #endif - const char* pQueueName; }osal_queue_def_t; typedef QueueHandle_t osal_queue_t; @@ -177,7 +176,7 @@ TU_ATTR_ALWAYS_INLINE static inline osal_queue_t osal_queue_create(osal_queue_de q = xQueueCreate(qdef->depth, qdef->item_sz); #endif #if defined(configQUEUE_REGISTRY_SIZE) && (configQUEUE_REGISTRY_SIZE>0) - vQueueAddToRegistry(q, qdef->pQueueName); + vQueueAddToRegistry(q, "tinyUSB"); #endif return q; } |
