From 4b36be5b614b1bbd8ef5fb091d99a25696ab3fa3 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 26 Mar 2011 10:35:16 +0000 Subject: [PATCH] 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 ). git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1325 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/RX600_RX62N-RDK_GNURX/RTOSDemo/FreeRTOSConfig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/RX600_RX62N-RDK_GNURX/RTOSDemo/FreeRTOSConfig.h b/Demo/RX600_RX62N-RDK_GNURX/RTOSDemo/FreeRTOSConfig.h index 1f13ce3b1..aab04e843 100644 --- a/Demo/RX600_RX62N-RDK_GNURX/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/RX600_RX62N-RDK_GNURX/RTOSDemo/FreeRTOSConfig.h @@ -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. -- 2.39.5