mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 23:11:19 +01:00
timex: add US_PER_CS converter
DHCPv6 operates on centiseconds (hundredth of a second) for some time values, so for interaction with `xtimer` I require this converter.
This commit is contained in:
parent
68210feb54
commit
441ca528da
@ -53,6 +53,11 @@ extern "C" {
|
||||
*/
|
||||
#define US_PER_MS (1000U)
|
||||
|
||||
/**
|
||||
* @brief The number of microseconds per centisecond
|
||||
*/
|
||||
#define US_PER_CS (10000U)
|
||||
|
||||
/**
|
||||
* @brief The number of nanoseconds per microsecond
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user