From: richardbarry Date: Fri, 11 Aug 2006 10:04:04 +0000 (+0000) Subject: Link the sUsingPreemption variable to the constant configUSE_PREEMPTION. X-Git-Tag: V4.0.5~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=472f0540be138a893fbd2cfcb96cead4d416adc7;p=freertos 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 --- 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. */