summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2009-01-23 16:47:32 +0000
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2009-01-23 16:47:32 +0000
commitf0d904cff3822bbb4d2fced65cc140118576652a (patch)
tree0b11d2b189e613f7a867bc4c43c946fd7c61fe76
parente03c8323da48781dad313c0b6db1cce06364990a (diff)
downloadfreertos-f0d904cff3822bbb4d2fced65cc140118576652a.tar.gz
freertos-f0d904cff3822bbb4d2fced65cc140118576652a.tar.bz2
freertos-f0d904cff3822bbb4d2fced65cc140118576652a.tar.xz
Minor change so the delay automatically adjusts to the tick frequency.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@622 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
-rw-r--r--Demo/PIC32MX_MPLAB/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/PIC32MX_MPLAB/main.c b/Demo/PIC32MX_MPLAB/main.c
index 33fc9bfd..f49e5b7e 100644
--- a/Demo/PIC32MX_MPLAB/main.c
+++ b/Demo/PIC32MX_MPLAB/main.c
@@ -127,7 +127,7 @@ errors have been detected. */
/* The rate at which the LED controlled by the 'check' task will flash when an
error has been detected. */
-#define mainERROR_PERIOD ( 500 )
+#define mainERROR_PERIOD ( 500 / portTICK_RATE_MS )
/* The priorities of the various demo application tasks. */
#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 4 )