]> git.sur5r.net Git - freertos/blobdiff - Demo/PIC32MX_MPLAB/main.c
Minor change so the delay automatically adjusts to the tick frequency.
[freertos] / 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