From: richardbarry Date: Sat, 26 Mar 2011 10:00:29 +0000 (+0000) Subject: Allow the intqHIGHER_PRIORITY definition to be modified outside of the IntQueue.c... X-Git-Tag: V7.0.0~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66584791b751f6b92cea0f82b8617925cc82f32a;p=freertos Allow the intqHIGHER_PRIORITY definition to be modified outside of the IntQueue.c file. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1324 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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