]> git.sur5r.net Git - freertos/commitdiff
Link the sUsingPreemption variable to the constant configUSE_PREEMPTION.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 11 Aug 2006 10:04:04 +0000 (10:04 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 11 Aug 2006 10:04:04 +0000 (10:04 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@23 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/PC/main.c

index f81ec2883ccfe0350b785d1f630301901fcb2767..1b5f927d5aae58917b3700690ffaa434ad3f9efe 100644 (file)
@@ -149,7 +149,7 @@ being used. */
 #endif\r
 \r
 /* Constant definition used to turn on/off the pre-emptive scheduler. */\r
-static const portSHORT sUsingPreemption = pdTRUE;\r
+static const portSHORT sUsingPreemption = configUSE_PREEMPTION;\r
 \r
 /* Start the math tasks appropriate to the build.  The Borland port does\r
 not yet support floating point so uses the integer equivalent. */\r