Allow the task priorities to be overwritten.

pull/4/head
Richard Barry 17 years ago
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…
Cancel
Save