From 59ad2ff8a3a300d2b63ec4b20147fc57077e6ec3 Mon Sep 17 00:00:00 2001 From: Jacques GUILLOU Date: Fri, 17 Feb 2023 12:36:01 +0100 Subject: [PATCH] Fix portTICK_RATE_MICROSECONDS in POSIX port --- portable/ThirdParty/GCC/Posix/portmacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/ThirdParty/GCC/Posix/portmacro.h b/portable/ThirdParty/GCC/Posix/portmacro.h index a5173871359..dbcbdc10418 100644 --- a/portable/ThirdParty/GCC/Posix/portmacro.h +++ b/portable/ThirdParty/GCC/Posix/portmacro.h @@ -71,7 +71,7 @@ typedef unsigned long TickType_t; #define portSTACK_GROWTH ( -1 ) #define portHAS_STACK_OVERFLOW_CHECKING ( 1 ) #define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) -#define portTICK_RATE_MICROSECONDS ( ( portTickType ) 1000000 / configTICK_RATE_HZ ) +#define portTICK_RATE_MICROSECONDS ( ( TickType_t ) 1000000 / configTICK_RATE_HZ ) #define portBYTE_ALIGNMENT 8 /*-----------------------------------------------------------*/