mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-07-10 13:29:45 -04:00
Switch to 32-bit tick width to avoid windows compile warnings
Windows defines a long as a 32-bit value regardless if a 32 or 64 bit OS is used. This makes a 64-bit tick an `unsigned long long` which was introduced after C90.
This commit is contained in:
parent
d5d752a9b6
commit
41052d3b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@
|
|||
*
|
||||
* Defining configTICK_TYPE_WIDTH_IN_BITS as TICK_TYPE_WIDTH_64_BITS causes
|
||||
* TickType_t to be defined (typedef'ed) as an unsigned 64-bit type. */
|
||||
#define configTICK_TYPE_WIDTH_IN_BITS TICK_TYPE_WIDTH_64_BITS
|
||||
#define configTICK_TYPE_WIDTH_IN_BITS TICK_TYPE_WIDTH_32_BITS
|
||||
|
||||
/* Set configIDLE_SHOULD_YIELD to 1 to have the Idle task yield to an
|
||||
* application task if there is an Idle priority (priority 0) application task
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue