mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
Allow the task priorities to be overwritten.
This commit is contained in:
parent
90ac00641c
commit
4b141c691e
|
@ -61,9 +61,14 @@
|
||||||
/* Demo includes. */
|
/* Demo includes. */
|
||||||
#include "blocktim.h"
|
#include "blocktim.h"
|
||||||
|
|
||||||
/* Task priorities. */
|
/* Task priorities. Allow these to be overridden. */
|
||||||
#define bktPRIMARY_PRIORITY ( 3 )
|
#ifndef bktPRIMARY_PRIORITY
|
||||||
#define bktSECONDARY_PRIORITY ( 2 )
|
#define bktPRIMARY_PRIORITY ( 3 )
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef bktSECONDARY_PRIORITY
|
||||||
|
#define bktSECONDARY_PRIORITY ( 2 )
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Task behaviour. */
|
/* Task behaviour. */
|
||||||
#define bktQUEUE_LENGTH ( 5 )
|
#define bktQUEUE_LENGTH ( 5 )
|
||||||
|
|
Loading…
Reference in a new issue