From 53b611d97a4bb0ea260c1da3d6f40d4634a3c708 Mon Sep 17 00:00:00 2001
From: Richard Barry <ribarry@amazon.com>
Date: Sat, 26 Mar 2011 11:33:54 +0000
Subject: [PATCH] Change the priorities used by the RX/RDK/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 ).

---
 Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/FreeRTOSConfig.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/FreeRTOSConfig.h b/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/FreeRTOSConfig.h
index 069c0739a3..5568d4f5e6 100644
--- a/Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/FreeRTOSConfig.h
+++ b/Demo/RX600_RX62N-RDK_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 )
 
 
 /*-----------------------------------------------------------