Added a check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6148 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
38e0ede2ba
commit
82583b0748
|
@ -441,7 +441,7 @@
|
|||
* tickless mode.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -50,7 +50,11 @@
|
|||
#endif
|
||||
|
||||
#if (CH_CFG_TIMEDELTA > 0) && (CH_CFG_TIME_QUANTUM > 0)
|
||||
#error "(CH_CFG_TIMEDELTA > 0) is not compatible with (CH_CFG_TIME_QUANTUM > 0)"
|
||||
#error "CH_CFG_TIME_QUANTUM not supported in tickless mode"
|
||||
#endif
|
||||
|
||||
#if (CH_CFG_TIMEDELTA > 0) && CH_DBG_THREADS_PROFILING
|
||||
#error "CH_DBG_THREADS_PROFILING not supported in tickless mode"
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue