From 472f0540be138a893fbd2cfcb96cead4d416adc7 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 11 Aug 2006 10:04:04 +0000 Subject: [PATCH] Link the sUsingPreemption variable to the constant configUSE_PREEMPTION. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@23 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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. */ -- 2.39.5