From 158c0e054819865910c2a8b1793e95ec74f9f301 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 26 May 2019 08:11:11 +0000 Subject: Fixed bug #1030. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12812 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/rt/include/chvt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os') diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 868eb77e8..70c3182e6 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -45,9 +45,9 @@ "be zero or greater than one" #endif -//#if (CH_CFG_ST_TIMEDELTA > 0) && (CH_CFG_TIME_QUANTUM > 0) -//#error "CH_CFG_TIME_QUANTUM not supported in tickless mode" -//#endif +#if (CH_CFG_ST_TIMEDELTA > 0) && (CH_CFG_TIME_QUANTUM > 0) +#error "CH_CFG_TIME_QUANTUM not supported in tickless mode" +#endif #if (CH_CFG_ST_TIMEDELTA > 0) && (CH_DBG_THREADS_PROFILING == TRUE) #error "CH_DBG_THREADS_PROFILING not supported in tickless mode" -- cgit v1.2.3