Skip to content

Commit 68da494

Browse files
committed
Posix: remove compatibility macros
1 parent 6b524a2 commit 68da494

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

portable/ThirdParty/GCC/Posix/port.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
typedef struct THREAD
7171
{
7272
pthread_t pthread;
73-
pdTASK_CODE pxCode;
73+
TaskFunction_t pxCode;
7474
void *pvParams;
7575
BaseType_t xDying;
7676
struct event *ev;
@@ -122,7 +122,7 @@ static void prvFatalError( const char *pcCall, int iErrno )
122122
*/
123123
portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack,
124124
portSTACK_TYPE *pxEndOfStack,
125-
pdTASK_CODE pxCode, void *pvParameters )
125+
TaskFunction_t pxCode, void *pvParameters )
126126
{
127127
Thread_t *thread;
128128
pthread_attr_t xThreadAttributes;

portable/ThirdParty/GCC/Posix/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef unsigned long TickType_t;
7070
#define portSTACK_GROWTH ( -1 )
7171
#define portHAS_STACK_OVERFLOW_CHECKING ( 1 )
7272
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
73-
#define portTICK_RATE_MICROSECONDS ( ( portTickType ) 1000000 / configTICK_RATE_HZ )
73+
#define portTICK_RATE_MICROSECONDS ( ( TickType_t ) 1000000 / configTICK_RATE_HZ )
7474
#define portBYTE_ALIGNMENT 8
7575
/*-----------------------------------------------------------*/
7676

0 commit comments

Comments
 (0)