Fix cmake example errors (#1037)

Add typecasts to prevent compiler warnings. Remove ULL suffix to adhere
to C90.
This commit is contained in:
Rahul Kar 2024-04-18 19:08:51 +05:30 committed by GitHub
parent e143832ad4
commit bbc058967b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 51 additions and 50 deletions

View file

@ -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