diff options
Diffstat (limited to 'os/lib/include/chmemheaps.h')
-rw-r--r-- | os/lib/include/chmemheaps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/lib/include/chmemheaps.h b/os/lib/include/chmemheaps.h index 59248a89e..c0ebcbb99 100644 --- a/os/lib/include/chmemheaps.h +++ b/os/lib/include/chmemheaps.h @@ -97,7 +97,7 @@ struct memory_heap { memgetfunc2_t provider; /**< @brief Memory blocks provider for
this heap. */
heap_header_t header; /**< @brief Free blocks list header. */
-#if CH_CFG_USE_MUTEXES == TRUE
+#if (CH_CFG_USE_MUTEXES == TRUE) || defined(__DOXYGEN__)
mutex_t mtx; /**< @brief Heap access mutex. */
#else
semaphore_t sem; /**< @brief Heap access semaphore. */
|