diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/include/stddef.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h index 3288487fbc..4e41eedfe8 100644 --- a/payloads/libpayload/include/stddef.h +++ b/payloads/libpayload/include/stddef.h @@ -28,3 +28,7 @@ typedef __SIZE_TYPE__ ssize_t; #define KHz (1000) #define MHz (1000*KHz) #define GHz (1000*MHz) + +#define USECS_PER_SEC 1000000 +#define MSECS_PER_SEC 1000 +#define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC) |