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

@ -172,7 +172,7 @@ extern void vPortExitCritical( void );
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
/*-----------------------------------------------------------*/
#ifdef configASSERT
#if configASSERT_DEFINED == 1
void vPortValidateInterruptPriority( void );
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
#endif