mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-25 06:18:07 +02: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. */
|
||||
portBASE_TYPE xIsCreateTaskStillRunning( void )
|
||||
{
|
||||
static portSHORT usLastCreationCount = -1;
|
||||
static unsigned portSHORT usLastCreationCount = 0xfff;
|
||||
portBASE_TYPE xReturn = pdTRUE;
|
||||
static unsigned portBASE_TYPE uxTasksRunningNow;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user