Revision e03a021e modules/aos_chconf.h

View differences:

modules/aos_chconf.h
165 165
 * @note    The default is @p TRUE.
166 166
 */
167 167
#if !defined(CH_CFG_USE_TM)
168
#define CH_CFG_USE_TM                       TRUE
168
#if ((AMIROOS_CFG_DBG == true) || (AMIROOS_CFG_PROFILE == true)) || defined(__DOXYGEN__)
169
  #define CH_CFG_USE_TM                     TRUE
170
#else
171
  #define CH_CFG_USE_TM                     FALSE
172
#endif
169 173
#endif
170 174

  
171 175
/**
......
492 496
 * @note    The default is @p FALSE.
493 497
 */
494 498
#if !defined(CH_DBG_STATISTICS)
495
#if ((CH_CFG_USE_TM == TRUE) && ((AMIROOS_CFG_DBG == true) || AMIROOS_CFG_PROFILE == true)) || defined(__DOXYGEN__)
499
#if ((CH_CFG_USE_TM == TRUE) && ((AMIROOS_CFG_DBG == true) || (AMIROOS_CFG_PROFILE == true))) || defined(__DOXYGEN__)
496 500
  #define CH_DBG_STATISTICS                 TRUE
497 501
#else
498 502
  #define CH_DBG_STATISTICS                 FALSE

Also available in: Unified diff