mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/timex: Defines for time calculations
This commit is contained in:
parent
e7cff82c03
commit
2143d572d0
@ -43,6 +43,16 @@ extern "C" {
|
||||
*/
|
||||
#define SEC_IN_USEC 1000000
|
||||
|
||||
/**
|
||||
* @brief The number of milliseconds per second
|
||||
*/
|
||||
#define SEC_IN_MS (1000)
|
||||
|
||||
/**
|
||||
* @brief The number of microseconds per millisecond
|
||||
*/
|
||||
#define MS_IN_USEC (1000)
|
||||
|
||||
/**
|
||||
* @brief The maximum length of the string representation of a timex timestamp
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user