From 7aaa7099fd19d774701f7a4b60cf07d1a292fd22 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 24 Jul 2013 14:58:29 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6026 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chvt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os') diff --git a/os/kernel/include/chvt.h b/os/kernel/include/chvt.h index a499db690..39f03b995 100644 --- a/os/kernel/include/chvt.h +++ b/os/kernel/include/chvt.h @@ -49,6 +49,10 @@ #error "invalid NIL_CFG_TIMEDELTA specified" #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)" +#endif + /*===========================================================================*/ /* Module data structures and types. */ /*===========================================================================*/ -- cgit v1.2.3