From 2865011d5a490b9a83f5eeca8d2c98f080c8e402 Mon Sep 17 00:00:00 2001 From: tcpluess Date: Sat, 26 Nov 2022 12:24:40 +0100 Subject: [PATCH 1/2] parenthesize expression-like macro --- include/FreeRTOS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index 86e4dbde12..476f24e5c0 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -94,7 +94,7 @@ #endif #ifndef configSET_TLS_BLOCK - #define configSET_TLS_BLOCK( xTLSBlock ) _impure_ptr = &( xTLSBlock ) + #define configSET_TLS_BLOCK( xTLSBlock ) ( _impure_ptr = &( xTLSBlock ) ) #endif #ifndef configDEINIT_TLS_BLOCK From 201a8a0bac7c44259c3f6ab28c2805ddbcca354b Mon Sep 17 00:00:00 2001 From: tcpluess Date: Sat, 26 Nov 2022 18:55:07 +0100 Subject: [PATCH 2/2] fixed wrong indentation --- include/FreeRTOS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index 476f24e5c0..ab15190af3 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -94,7 +94,7 @@ #endif #ifndef configSET_TLS_BLOCK - #define configSET_TLS_BLOCK( xTLSBlock ) ( _impure_ptr = &( xTLSBlock ) ) + #define configSET_TLS_BLOCK( xTLSBlock ) ( _impure_ptr = &( xTLSBlock ) ) #endif #ifndef configDEINIT_TLS_BLOCK