diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-14 15:34:40 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-14 15:34:40 +0000 |
commit | 82583b07489027564b9520257c0327af4defed9b (patch) | |
tree | 6d106be67f05e6fcb28721d454185da97f747caf /os/rt/include/chvt.h | |
parent | 38e0ede2ba22ce081f862d236829916949cc1447 (diff) | |
download | ChibiOS-82583b07489027564b9520257c0327af4defed9b.tar.gz ChibiOS-82583b07489027564b9520257c0327af4defed9b.tar.bz2 ChibiOS-82583b07489027564b9520257c0327af4defed9b.zip |
Added a check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6148 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chvt.h')
-rw-r--r-- | os/rt/include/chvt.h | 6 |
1 files changed, 5 insertions, 1 deletions
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
/*===========================================================================*/
|