From: richardbarry Date: Sat, 26 Mar 2011 18:44:42 +0000 (+0000) Subject: Change the priorities used by the RX/RSK/Renesas demo application to ensure they... X-Git-Tag: V7.0.0~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7865160389ef467a1af9f19e657478857481f4c2;p=freertos 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 ). git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1330 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/RX600_RX62N-RSK_Renesas/RTOSDemo/FreeRTOSConfig.h b/Demo/RX600_RX62N-RSK_Renesas/RTOSDemo/FreeRTOSConfig.h index 96bed6b84..839876730 100644 --- a/Demo/RX600_RX62N-RSK_Renesas/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/RX600_RX62N-RSK_Renesas/RTOSDemo/FreeRTOSConfig.h @@ -127,8 +127,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 ) /*-----------------------------------------------------------