1
0
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:
Martine Lenders 2018-03-17 12:18:59 +00:00 committed by Martine Lenders
parent 68210feb54
commit 441ca528da

View File

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