From ead29065e081acb30c04297d9e74c7b687e058a2 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 26 Mar 2011 10:00:29 +0000 Subject: [PATCH] Allow the intqHIGHER_PRIORITY definition to be modified outside of the IntQueue.c file. --- Demo/Common/Minimal/IntQueue.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Demo/Common/Minimal/IntQueue.c b/Demo/Common/Minimal/IntQueue.c index fb67703d4..60bffc74f 100644 --- a/Demo/Common/Minimal/IntQueue.c +++ b/Demo/Common/Minimal/IntQueue.c @@ -79,7 +79,9 @@ #include "IntQueueTimer.h" /* Priorities used by test tasks. */ -#define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 2 ) +#ifndef intqHIGHER_PRIORITY + #define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 2 ) +#endif #define intqLOWER_PRIORITY ( tskIDLE_PRIORITY ) /* The number of values to send/receive before checking that all values were