From ce00f074dc70b189b6f3b37ce60786af14881fc7 Mon Sep 17 00:00:00 2001 From: Kody Stribrny Date: Fri, 20 Feb 2026 14:00:50 -0800 Subject: [PATCH] [17.12] Add addressing operator to callback function This is required to disambiguate a function call and a function to-be called --- event_groups.c | 4 ++-- examples/cmake_example/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/event_groups.c b/event_groups.c index 7c5c15db7..c69b96557 100644 --- a/event_groups.c +++ b/event_groups.c @@ -511,7 +511,7 @@ traceENTER_xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear ); traceEVENT_GROUP_CLEAR_BITS_FROM_ISR( xEventGroup, uxBitsToClear ); - xReturn = xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL ); + xReturn = xTimerPendFunctionCallFromISR( &vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL ); traceRETURN_xEventGroupClearBitsFromISR( xReturn ); @@ -823,7 +823,7 @@ traceENTER_xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken ); traceEVENT_GROUP_SET_BITS_FROM_ISR( xEventGroup, uxBitsToSet ); - xReturn = xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken ); + xReturn = xTimerPendFunctionCallFromISR( &vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken ); traceRETURN_xEventGroupSetBitsFromISR( xReturn ); diff --git a/examples/cmake_example/main.c b/examples/cmake_example/main.c index 96a2abfe1..4b7ad5c5f 100644 --- a/examples/cmake_example/main.c +++ b/examples/cmake_example/main.c @@ -69,7 +69,7 @@ int main( void ) ( void ) printf( "Example FreeRTOS Project\n" ); - ( void ) xTaskCreateStatic( exampleTask, + ( void ) xTaskCreateStatic( &exampleTask, "example", configMINIMAL_STACK_SIZE, NULL,