mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Change the priorities used by the RX/RSK/Renesas 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:
parent
5421388be5
commit
ce3d65938d
|
@ -127,8 +127,9 @@ extern volatile unsigned long ulHighFrequencyTickCount;
|
||||||
|
|
||||||
/* Override some of the priorities set in the common demo tasks. This is
|
/* Override some of the priorities set in the common demo tasks. This is
|
||||||
required to ensure flase positive timing errors are not reported. */
|
required to ensure flase positive timing errors are not reported. */
|
||||||
#define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 2 )
|
#define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 3 )
|
||||||
#define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 3 )
|
#define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 4 )
|
||||||
|
#define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 3 )
|
||||||
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------
|
/*-----------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue