]> git.sur5r.net Git - freertos/commitdiff
Change init value for a variable that was generating compiler warnings on one of...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 22 Sep 2008 13:44:31 +0000 (13:44 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 22 Sep 2008 13:44:31 +0000 (13:44 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@479 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/death.c

index b4e1db32bf538c1b09311a52a403bb839a8181d2..ee5617701f3b3be48f360df77456c4b6be1a220c 100644 (file)
@@ -210,7 +210,7 @@ unsigned portBASE_TYPE uxPriority;
 are not any more than four extra tasks. */\r
 portBASE_TYPE xIsCreateTaskStillRunning( void )\r
 {\r
-static portSHORT usLastCreationCount = -1;\r
+static unsigned portSHORT usLastCreationCount = 0xfff;\r
 portBASE_TYPE xReturn = pdTRUE;\r
 static unsigned portBASE_TYPE uxTasksRunningNow;\r
 \r