Move configASSERT default definition above before including portable.h. (#1185)

Move configASSERT default definition above before including portable.h.
This commit is contained in:
ActoryOu 2024-11-04 19:05:52 +08:00 committed by GitHub
parent 445336aad9
commit a27d6650ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
62 changed files with 68 additions and 68 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()