Change the priorities used by the RX/RDK/GCC 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 ).

pull/4/head
Richard Barry 14 years ago
parent ead29065e0
commit 89f0b2c0be

@ -122,9 +122,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 )
/*-----------------------------------------------------------
* Ethernet configuration.

Loading…
Cancel
Save