Replace configASSERT define check with configASSERT_DEFINED

This commit is contained in:
ActoryOu 2024-11-04 09:32:45 +00:00
parent 810b387d21
commit e37d32b3f4
60 changed files with 60 additions and 60 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.
*/
#ifdef configASSERT
#if configASSERT_DEFINED == 1
#if ( portHAS_ARMV8M_MAIN_EXTENSION == 1 )
void vPortValidateInterruptPriority( void );
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()