Skip to content

Commit 27a62f2

Browse files
Merge branch 'main' into fixParadigmFormatting
2 parents 8efd483 + 22eb827 commit 27a62f2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

include/croutine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
typedef 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

5353
typedef struct corCoRoutineControlBlock
5454
{

include/projdefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
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

include/task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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. */
102102
typedef enum

include/timers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)