From 82583b07489027564b9520257c0327af4defed9b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 14 Aug 2013 15:34:40 +0000 Subject: Added a check. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6148 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chvt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'os/rt/include') diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index ae1aee316..d4948f1d6 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -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 /*===========================================================================*/ -- cgit v1.2.3