Revision 5c9e9b9d core/src/aos_thread.c
core/src/aos_thread.c | ||
---|---|---|
57 | 57 |
return; |
58 | 58 |
} |
59 | 59 |
|
60 |
#if (CH_DBG_FILL_THREADS == TRUE) || defined(__DOXYGEN__)
|
|
60 |
#if ((AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE)) || defined(__DOXYGEN__)
|
|
61 | 61 |
/** |
62 | 62 |
* @brief Calculate the peak stack utilization for a specific thread so far in bytes. |
63 | 63 |
* |
... | ... | |
81 | 81 |
|
82 | 82 |
return util; |
83 | 83 |
} |
84 |
#endif /* CH_DBG_FILL_THREADS == TRUE */
|
|
84 |
#endif /* (AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE) */
|
|
85 | 85 |
|
86 | 86 |
/** @} */ |
Also available in: Unified diff