1
0
mirror of https://github.com/FreeRTOS/FreeRTOS.git synced 2025-07-15 00:52:33 +08:00

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

This commit is contained in:
Richard Barry
2011-04-12 13:47:09 +00:00
parent 9481ea480b
commit 5725c4b305

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