diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/kernel/include/chvt.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */
/*===========================================================================*/
|