|
|
@ -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 )
|
|
|
|