]> git.sur5r.net Git - freertos/blobdiff - Demo/PC/main.c
Link the sUsingPreemption variable to the constant configUSE_PREEMPTION.
[freertos] / Demo / PC / main.c
index f70aeeede00f04ebcd52d945c29737dd679e5ae9..1b5f927d5aae58917b3700690ffaa434ad3f9efe 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.0.3 - Copyright (C) 2003-2006 Richard Barry.\r
+       FreeRTOS.org V4.0.4 - Copyright (C) 2003-2006 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
@@ -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