Change the priorities used by the RX/RSK/IAR demo application to ensure they can be used when configASSERT() is defined. Previously the priorities meant assert would have been called because one of the priorities used was above ( configMAX_PRIORITIES - 1 ).

This commit is contained in:
Richard Barry 2011-03-26 13:41:10 +00:00
parent 04c5d88e9d
commit fdac74427d

View File

@ -133,8 +133,9 @@ extern volatile unsigned long ulHighFrequencyTickCount;
/* Override some of the priorities set in the common demo tasks. This is
required to ensure flase positive timing errors are not reported. */
#define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 2 )
#define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 3 )
#define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 3 )
#define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 4 )
#define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 3 )
/*-----------------------------------------------------------