mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Change init value for a variable that was generating compiler warnings on one of the more pedantic compilers.
This commit is contained in:
parent
c3a33e5e7c
commit
36471ef3e8
|
@ -210,7 +210,7 @@ unsigned portBASE_TYPE uxPriority;
|
||||||
are not any more than four extra tasks. */
|
are not any more than four extra tasks. */
|
||||||
portBASE_TYPE xIsCreateTaskStillRunning( void )
|
portBASE_TYPE xIsCreateTaskStillRunning( void )
|
||||||
{
|
{
|
||||||
static portSHORT usLastCreationCount = -1;
|
static unsigned portSHORT usLastCreationCount = 0xfff;
|
||||||
portBASE_TYPE xReturn = pdTRUE;
|
portBASE_TYPE xReturn = pdTRUE;
|
||||||
static unsigned portBASE_TYPE uxTasksRunningNow;
|
static unsigned portBASE_TYPE uxTasksRunningNow;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue