Skip to content

Commit aa012e8

Browse files
chinglee-iotaggarg
andauthored
Add constant type for portMAX_DELAY in port (#691)
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
1 parent 9a62842 commit aa012e8

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

portable/GCC/AVR32_UC3/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ typedef unsigned long UBaseType_t;
116116
#define portMAX_DELAY ( TickType_t ) 0xffff
117117
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
118118
typedef uint32_t TickType_t;
119-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
119+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
120120
#else
121121
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
122122
#endif

portable/GCC/CORTUS_APS3/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef unsigned long UBaseType_t;
6565
#define portMAX_DELAY ( TickType_t ) 0xffff
6666
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6767
typedef uint32_t TickType_t;
68-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
68+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6969
#else
7070
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7171
#endif

portable/GCC/ColdFire_V2/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ typedef unsigned long UBaseType_t;
6363
#define portMAX_DELAY ( TickType_t ) 0xffff
6464
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6565
typedef uint32_t TickType_t;
66-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
66+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6767
#else
6868
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
6969
#endif

portable/GCC/H8S2329/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef unsigned char UBaseType_t;
6464
#define portMAX_DELAY ( TickType_t ) 0xffff
6565
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6666
typedef uint32_t TickType_t;
67-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
67+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6868
#else
6969
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7070
#endif

portable/GCC/HCS12/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef unsigned char UBaseType_t;
6565
#define portMAX_DELAY ( TickType_t ) 0xffff
6666
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6767
typedef uint32_t TickType_t;
68-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
68+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6969
#else
7070
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7171
#endif

portable/GCC/MSP430F449/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ typedef unsigned short UBaseType_t;
6363
#define portMAX_DELAY ( TickType_t ) 0xffff
6464
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6565
typedef uint32_t TickType_t;
66-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
66+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6767
#else
6868
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
6969
#endif

portable/GCC/PPC405_Xilinx/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef unsigned long UBaseType_t;
6565
#define portMAX_DELAY ( TickType_t ) 0xffff
6666
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6767
typedef uint32_t TickType_t;
68-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
68+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6969
#else
7070
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7171
#endif

portable/GCC/PPC440_Xilinx/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef unsigned long UBaseType_t;
6565
#define portMAX_DELAY ( TickType_t ) 0xffff
6666
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6767
typedef uint32_t TickType_t;
68-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
68+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6969
#else
7070
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7171
#endif

portable/GCC/RL78/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef unsigned short UBaseType_t;
5959
#define portMAX_DELAY ( TickType_t ) 0xffff
6060
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6161
typedef uint32_t TickType_t;
62-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
62+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6363
#else
6464
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
6565
#endif

portable/GCC/STR75x/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef unsigned long UBaseType_t;
6464
#define portMAX_DELAY ( TickType_t ) 0xffff
6565
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
6666
typedef uint32_t TickType_t;
67-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
67+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
6868
#else
6969
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7070
#endif

0 commit comments

Comments
 (0)