]> git.sur5r.net Git - freertos/commitdiff
Minor change so the delay automatically adjusts to the tick frequency.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 Jan 2009 16:47:32 +0000 (16:47 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 Jan 2009 16:47:32 +0000 (16:47 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@622 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/PIC32MX_MPLAB/main.c

index 33fc9bfde2cef27fc85d1463111a2bbefc725eb8..f49e5b7ef8ef297dd4e170a3fb2f859b95c75140 100644 (file)
@@ -127,7 +127,7 @@ errors have been detected. */
 \r
 /* The rate at which the LED controlled by the 'check' task will flash when an\r
 error has been detected. */\r
-#define mainERROR_PERIOD       ( 500 )\r
+#define mainERROR_PERIOD       ( 500 / portTICK_RATE_MS )\r
 \r
 /* The priorities of the various demo application tasks. */\r
 #define mainCHECK_TASK_PRIORITY                                ( tskIDLE_PRIORITY + 4 )\r