mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-07-02 06:46:24 +08:00
Minor change so the delay automatically adjusts to the tick frequency.
This commit is contained in:
@ -127,7 +127,7 @@ errors have been detected. */
|
|||||||
|
|
||||||
/* The rate at which the LED controlled by the 'check' task will flash when an
|
/* The rate at which the LED controlled by the 'check' task will flash when an
|
||||||
error has been detected. */
|
error has been detected. */
|
||||||
#define mainERROR_PERIOD ( 500 )
|
#define mainERROR_PERIOD ( 500 / portTICK_RATE_MS )
|
||||||
|
|
||||||
/* The priorities of the various demo application tasks. */
|
/* The priorities of the various demo application tasks. */
|
||||||
#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 4 )
|
#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 4 )
|
||||||
|
Reference in New Issue
Block a user