]> git.sur5r.net Git - freertos/commitdiff
Alter the default priorities in blocktim.c to prevent asserts being triggered when...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Apr 2011 13:47:09 +0000 (13:47 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Apr 2011 13:47:09 +0000 (13:47 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1353 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/blocktim.c

index 39c03bd0235cd19c0c0f699ce45aca2deee89e77..0ced88592c06535590a60750bbcaefb4dd008bfe 100644 (file)
 \r
 /* Task priorities.  Allow these to be overridden. */\r
 #ifndef bktPRIMARY_PRIORITY\r
-       #define bktPRIMARY_PRIORITY                     ( 3 )\r
+       #define bktPRIMARY_PRIORITY             ( configMAX_PRIORITIES - 3 )\r
 #endif\r
 \r
 #ifndef bktSECONDARY_PRIORITY\r
-       #define bktSECONDARY_PRIORITY           ( 2 )\r
+       #define bktSECONDARY_PRIORITY   ( configMAX_PRIORITIES - 4 )\r
 #endif\r
 \r
 /* Task behaviour. */\r