From d303ef938481eb40a41de33e321c1257f655f1e6 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Fri, 11 Aug 2006 10:04:04 +0000 Subject: [PATCH] Link the sUsingPreemption variable to the constant configUSE_PREEMPTION. --- Demo/PC/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/PC/main.c b/Demo/PC/main.c index f81ec2883..1b5f927d5 100644 --- a/Demo/PC/main.c +++ b/Demo/PC/main.c @@ -149,7 +149,7 @@ being used. */ #endif /* Constant definition used to turn on/off the pre-emptive scheduler. */ -static const portSHORT sUsingPreemption = pdTRUE; +static const portSHORT sUsingPreemption = configUSE_PREEMPTION; /* Start the math tasks appropriate to the build. The Borland port does not yet support floating point so uses the integer equivalent. */