From 2cabb56d62dcbfdd32d0b2455ab474667dbbcdad Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Fri, 23 Jan 2009 16:47:32 +0000 Subject: [PATCH] Minor change so the delay automatically adjusts to the tick frequency. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@622 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/PIC32MX_MPLAB/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/PIC32MX_MPLAB/main.c b/Demo/PIC32MX_MPLAB/main.c index 33fc9bfde..f49e5b7ef 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 ) -- 2.39.5