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 )