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

portable/IAR/78K0R/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef unsigned short 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/IAR/ATMega323/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef unsigned char UBaseType_t;
7171
#define portMAX_DELAY ( TickType_t ) 0xffff
7272
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
7373
typedef uint32_t TickType_t;
74-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
74+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
7575
#else
7676
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
7777
#endif

portable/IAR/AVR32_UC3/portmacro.h

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

portable/IAR/AVR_AVRDx/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/IAR/AVR_Mega0/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/IAR/AtmelSAM7S64/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

portable/IAR/AtmelSAM9XE/portmacro.h

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

portable/IAR/LPC2000/portmacro.h

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

portable/IAR/MSP430/portmacro.h

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

portable/IAR/MSP430X/portmacro.h

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

portable/IAR/RL78/portmacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ typedef unsigned short UBaseType_t;
8282
#define portMAX_DELAY ( TickType_t ) 0xffff
8383
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
8484
typedef uint32_t TickType_t;
85-
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFF )
85+
#define portMAX_DELAY ( TickType_t ) ( 0xFFFFFFFFUL )
8686
#else
8787
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
8888
#endif

portable/WizC/PIC18/portmacro.h

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

0 commit comments

Comments
 (0)