X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCORTEX_EFM32_Giant_Gecko_Simplicity_Studio%2FFull_Demo%2Fmain_full.c;fp=FreeRTOS%2FDemo%2FCORTEX_EFM32_Giant_Gecko_Simplicity_Studio%2FFull_Demo%2Fmain_full.c;h=ee6fd06b8538cf2de36fde662b843ed4ed3b760b;hb=6b91a49cdaada37b6dc930bb0abd56ff28a2756e;hp=67ccd0a1619179469296807eb251b3e2d9c6a762;hpb=44c9997af8f5b4ce9c796f870f0d268fe5a92f1d;p=freertos diff --git a/FreeRTOS/Demo/CORTEX_EFM32_Giant_Gecko_Simplicity_Studio/Full_Demo/main_full.c b/FreeRTOS/Demo/CORTEX_EFM32_Giant_Gecko_Simplicity_Studio/Full_Demo/main_full.c index 67ccd0a16..ee6fd06b8 100644 --- a/FreeRTOS/Demo/CORTEX_EFM32_Giant_Gecko_Simplicity_Studio/Full_Demo/main_full.c +++ b/FreeRTOS/Demo/CORTEX_EFM32_Giant_Gecko_Simplicity_Studio/Full_Demo/main_full.c @@ -145,7 +145,7 @@ /* The period after which the check timer will expire, in ms, provided no errors have been reported by any of the standard demo tasks. ms are converted to the equivalent in ticks using the portTICK_PERIOD_MS constant. */ -#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS ) +#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL ) /* The period at which the check timer will expire, in ms, if an error has been reported in one of the standard demo tasks. ms are converted to the equivalent