mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
sys/timex: Add NS_PER_SEC definition
This commit is contained in:
parent
ba711c50bf
commit
c0615ad726
@ -63,6 +63,11 @@ extern "C" {
|
||||
*/
|
||||
#define NS_PER_US (1000U)
|
||||
|
||||
/**
|
||||
* @brief The number of nanoseconds per second
|
||||
*/
|
||||
#define NS_PER_SEC (1000000000U)
|
||||
|
||||
/**
|
||||
* @brief The maximum length of the string representation of a timex timestamp
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user