mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Fix cmake example errors (#1037)
Add typecasts to prevent compiler warnings. Remove ULL suffix to adhere to C90.
This commit is contained in:
parent
e143832ad4
commit
bbc058967b
6 changed files with 51 additions and 50 deletions
|
@ -40,7 +40,7 @@ typedef unsigned char UBaseType_t;
|
|||
#define portMAX_DELAY ( TickType_t ) 0xffffffffUL
|
||||
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_64_BITS )
|
||||
typedef uint64_t TickType_t;
|
||||
#define portMAX_DELAY ( TickType_t ) 0xffffffffffffffffULL
|
||||
#define portMAX_DELAY ( TickType_t ) 0xffffffffffffffff
|
||||
#else
|
||||
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue