mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-24 18:19:33 +08:00
Link the sUsingPreemption variable to the constant configUSE_PREEMPTION.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user