sys/timex: Add NS_PER_SEC definition

This commit is contained in:
Christian Friedrich Coors 2020-03-11 12:40:12 +01:00
parent ba711c50bf
commit c0615ad726

View File

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