From: RichardBarry Date: Fri, 23 Jan 2009 16:47:32 +0000 (+0000) Subject: Minor change so the delay automatically adjusts to the tick frequency. X-Git-Tag: V5.1.2~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cabb56d62dcbfdd32d0b2455ab474667dbbcdad;p=freertos 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 --- 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 )