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

@ -85,7 +85,7 @@
/* If CONFIG_FREERTOS_ASSERT_DISABLE is set then configASSERT is defined empty later in FreeRTOS.h and the macro */
/* configASSERT_DEFINED remains unset (meaning some warnings are avoided) */
#ifdef configASSERT
#if configASSERT_DEFINED == 1
#undef configASSERT
#if defined( CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE )
#define configASSERT( a ) \