mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys: timex: add "U" specifiers to constant definitions
This commit is contained in:
parent
f7d77428d7
commit
02bc3ffb79
@ -31,17 +31,17 @@ extern "C" {
|
||||
/**
|
||||
* @brief The number of microseconds per second
|
||||
*/
|
||||
#define SEC_IN_USEC 1000000
|
||||
#define SEC_IN_USEC (1000000U)
|
||||
|
||||
/**
|
||||
* @brief The number of milliseconds per second
|
||||
*/
|
||||
#define SEC_IN_MS (1000)
|
||||
#define SEC_IN_MS (1000U)
|
||||
|
||||
/**
|
||||
* @brief The number of microseconds per millisecond
|
||||
*/
|
||||
#define MS_IN_USEC (1000)
|
||||
#define MS_IN_USEC (1000U)
|
||||
|
||||
/**
|
||||
* @brief The maximum length of the string representation of a timex timestamp
|
||||
|
Loading…
Reference in New Issue
Block a user