Skip to content

Commit 893a1ed

Browse files
committed
Add parentheses for configASSERT_DEFINED
1 parent e37d32b commit 893a1ed

File tree

61 files changed

+61
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+61
-61
lines changed

portable/ARMv8M/non_secure/portmacrocommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
312312
* @brief Validate priority of ISRs that are allowed to call FreeRTOS
313313
* system calls.
314314
*/
315-
#if configASSERT_DEFINED == 1
315+
#if ( configASSERT_DEFINED == 1 )
316316
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
317317
void vPortValidateInterruptPriority( void );
318318
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()

portable/CCS/ARM_CM3/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
171171
/*-----------------------------------------------------------*/
172172

173-
#if configASSERT_DEFINED == 1
173+
#if ( configASSERT_DEFINED == 1 )
174174
void vPortValidateInterruptPriority( void );
175175
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
176176
#endif

portable/CCS/ARM_CM4F/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
165165
/*-----------------------------------------------------------*/
166166

167-
#if configASSERT_DEFINED == 1
167+
#if ( configASSERT_DEFINED == 1 )
168168
void vPortValidateInterruptPriority( void );
169169
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
170170
#endif

portable/GCC/ARM_AARCH64/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void FreeRTOS_Tick_Handler( void );
169169

170170
#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */
171171

172-
#if configASSERT_DEFINED == 1
172+
#if ( configASSERT_DEFINED == 1 )
173173
void vPortValidateInterruptPriority( void );
174174
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
175175
#endif /* configASSERT */

portable/GCC/ARM_AARCH64_SRE/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void vPortTaskUsesFPU( void );
160160

161161
#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */
162162

163-
#if configASSERT_DEFINED == 1
163+
#if ( configASSERT_DEFINED == 1 )
164164
void vPortValidateInterruptPriority( void );
165165
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
166166
#endif /* configASSERT */

portable/GCC/ARM_CA9/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void FreeRTOS_Tick_Handler( void );
157157

158158
#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */
159159

160-
#if configASSERT_DEFINED == 1
160+
#if ( configASSERT_DEFINED == 1 )
161161
void vPortValidateInterruptPriority( void );
162162
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
163163
#endif /* configASSERT */

portable/GCC/ARM_CM23/non_secure/portmacrocommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
312312
* @brief Validate priority of ISRs that are allowed to call FreeRTOS
313313
* system calls.
314314
*/
315-
#if configASSERT_DEFINED == 1
315+
#if ( configASSERT_DEFINED == 1 )
316316
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
317317
void vPortValidateInterruptPriority( void );
318318
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()

portable/GCC/ARM_CM23_NTZ/non_secure/portmacrocommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
312312
* @brief Validate priority of ISRs that are allowed to call FreeRTOS
313313
* system calls.
314314
*/
315-
#if configASSERT_DEFINED == 1
315+
#if ( configASSERT_DEFINED == 1 )
316316
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
317317
void vPortValidateInterruptPriority( void );
318318
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()

portable/GCC/ARM_CM3/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ extern void vPortExitCritical( void );
171171

172172
/*-----------------------------------------------------------*/
173173

174-
#if configASSERT_DEFINED == 1
174+
#if ( configASSERT_DEFINED == 1 )
175175
void vPortValidateInterruptPriority( void );
176176
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
177177
#endif

portable/GCC/ARM_CM33/non_secure/portmacrocommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
312312
* @brief Validate priority of ISRs that are allowed to call FreeRTOS
313313
* system calls.
314314
*/
315-
#if configASSERT_DEFINED == 1
315+
#if ( configASSERT_DEFINED == 1 )
316316
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
317317
void vPortValidateInterruptPriority( void );
318318
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()

0 commit comments

Comments
 (0)