@@ -452,13 +452,10 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
452452 * \defgroup xEventGroupClearBitsFromISR xEventGroupClearBitsFromISR
453453 * \ingroup EventGroup
454454 */
455- #if ( configUSE_TRACE_FACILITY == 1 )
455+ #if ( ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) )
456456 BaseType_t xEventGroupClearBitsFromISR ( EventGroupHandle_t xEventGroup ,
457457 const EventBits_t uxBitsToClear ) PRIVILEGED_FUNCTION ;
458- #else
459- #define xEventGroupClearBitsFromISR ( xEventGroup , uxBitsToClear ) \
460- xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) ( xEventGroup ), ( uint32_t ) ( uxBitsToClear ), NULL )
461- #endif
458+ #endif /* if ( ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) ) */
462459
463460/**
464461 * event_groups.h
@@ -607,14 +604,11 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
607604 * \defgroup xEventGroupSetBitsFromISR xEventGroupSetBitsFromISR
608605 * \ingroup EventGroup
609606 */
610- #if ( configUSE_TRACE_FACILITY == 1 )
607+ #if ( ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) )
611608 BaseType_t xEventGroupSetBitsFromISR ( EventGroupHandle_t xEventGroup ,
612609 const EventBits_t uxBitsToSet ,
613610 BaseType_t * pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION ;
614- #else
615- #define xEventGroupSetBitsFromISR ( xEventGroup , uxBitsToSet , pxHigherPriorityTaskWoken ) \
616- xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) ( xEventGroup ), ( uint32_t ) ( uxBitsToSet ), ( pxHigherPriorityTaskWoken ) )
617- #endif
611+ #endif /* if ( ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 1 ) ) */
618612
619613/**
620614 * event_groups.h
0 commit comments