Alter the default priorities in blocktim.c to prevent asserts being triggered when configMAX_PRIORITIES is set to a low number.

pull/4/head
Richard Barry 14 years ago
parent 9481ea480b
commit 5725c4b305

@ -67,11 +67,11 @@
/* Task priorities. Allow these to be overridden. */ /* Task priorities. Allow these to be overridden. */
#ifndef bktPRIMARY_PRIORITY #ifndef bktPRIMARY_PRIORITY
#define bktPRIMARY_PRIORITY ( 3 ) #define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 3 )
#endif #endif
#ifndef bktSECONDARY_PRIORITY #ifndef bktSECONDARY_PRIORITY
#define bktSECONDARY_PRIORITY ( 2 ) #define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 4 )
#endif #endif
/* Task behaviour. */ /* Task behaviour. */

Loading…
Cancel
Save