File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4747typedef void * CoRoutineHandle_t ;
4848
4949/* Defines the prototype to which co-routine functions must conform. */
50- typedef void (* crCOROUTINE_CODE )( CoRoutineHandle_t ,
51- UBaseType_t );
50+ typedef void (* crCOROUTINE_CODE )( CoRoutineHandle_t xHandle ,
51+ UBaseType_t uxIndex );
5252
5353typedef struct corCoRoutineControlBlock
5454{
Original file line number Diff line number Diff line change 3333 * Defines the prototype to which task functions must conform. Defined in this
3434 * file to ensure the type is known before portable.h is included.
3535 */
36- typedef void (* TaskFunction_t )( void * );
36+ typedef void (* TaskFunction_t )( void * arg );
3737
3838/* Converts a time in milliseconds to a time in ticks. This macro can be
3939 * overridden by a macro of the same name defined in FreeRTOSConfig.h in case the
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ typedef const struct tskTaskControlBlock * ConstTaskHandle_t;
9696 * Defines the prototype to which the application task hook function must
9797 * conform.
9898 */
99- typedef BaseType_t (* TaskHookFunction_t )( void * );
99+ typedef BaseType_t (* TaskHookFunction_t )( void * arg );
100100
101101/* Task states returned by eTaskGetState. */
102102typedef enum
Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ typedef void (* TimerCallbackFunction_t)( TimerHandle_t xTimer );
8888 * Defines the prototype to which functions used with the
8989 * xTimerPendFunctionCallFromISR() function must conform.
9090 */
91- typedef void (* PendedFunction_t )( void * ,
92- uint32_t );
91+ typedef void (* PendedFunction_t )( void * arg1 ,
92+ uint32_t arg2 );
9393
9494/**
9595 * TimerHandle_t xTimerCreate( const char * const pcTimerName,
You can’t perform that action at this time.
0 commit comments