Add parentheses for configASSERT_DEFINED

This commit is contained in:
ActoryOu 2024-11-04 09:50:57 +00:00
parent e37d32b3f4
commit 893a1ed289
61 changed files with 61 additions and 61 deletions

View file

@ -312,7 +312,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
* @brief Validate priority of ISRs that are allowed to call FreeRTOS
* system calls.
*/
#if configASSERT_DEFINED == 1
#if ( configASSERT_DEFINED == 1 )
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
void vPortValidateInterruptPriority( void );
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()