mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-25 02:26:34 +08:00
Change init value for a variable that was generating compiler warnings on one of the more pedantic compilers.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user