From 73cf398bda23a160fad155f913d02fd46a83d6ce Mon Sep 17 00:00:00 2001 From: tcpluess Date: Fri, 28 Apr 2023 16:16:04 +0200 Subject: [PATCH 1/2] paranthesize expression-like macro --- include/newlib-freertos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/newlib-freertos.h b/include/newlib-freertos.h index 497ca529990..16b87a055d3 100644 --- a/include/newlib-freertos.h +++ b/include/newlib-freertos.h @@ -52,7 +52,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 cea8593e366705c7e4f29cde6d51ffece34ac50b Mon Sep 17 00:00:00 2001 From: tcpluess Date: Fri, 28 Apr 2023 16:28:17 +0200 Subject: [PATCH 2/2] fix formatting with uncrustify --- include/newlib-freertos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/newlib-freertos.h b/include/newlib-freertos.h index 16b87a055d3..a65e62e8ef7 100644 --- a/include/newlib-freertos.h +++ b/include/newlib-freertos.h @@ -52,7 +52,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