]> git.sur5r.net Git - freertos/commitdiff
Allow the intqHIGHER_PRIORITY definition to be modified outside of the IntQueue.c...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 26 Mar 2011 10:00:29 +0000 (10:00 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 26 Mar 2011 10:00:29 +0000 (10:00 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1324 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/IntQueue.c

index fb67703d4938bdbbaec54d71a581a10903fbe837..60bffc74f10e49f4a59d409a141f806ca9084ad8 100644 (file)
@@ -79,7 +79,9 @@
 #include "IntQueueTimer.h"\r
 \r
 /* Priorities used by test tasks. */\r
-#define intqHIGHER_PRIORITY            ( configMAX_PRIORITIES - 2 )\r
+#ifndef intqHIGHER_PRIORITY\r
+       #define intqHIGHER_PRIORITY             ( configMAX_PRIORITIES - 2 )\r
+#endif\r
 #define intqLOWER_PRIORITY             ( tskIDLE_PRIORITY )\r
 \r
 /* The number of values to send/receive before checking that all values were\r