diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-01-08 16:45:04 +0900 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-05-06 15:55:01 +0900 |
commit | df6fc2a1ce9f3a1778e9c8e14c800cd2ad96e96e (patch) | |
tree | 6356575d4f9e6461769f7b40b72829366feb37b4 /src/console/dlt-control-common.h | |
parent | 4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0 (diff) | |
download | DLT-daemon-df6fc2a1ce9f3a1778e9c8e14c800cd2ad96e96e.tar.gz |
POSIX: Replace usleep with nanosleep
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/console/dlt-control-common.h')
-rw-r--r-- | src/console/dlt-control-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/dlt-control-common.h b/src/console/dlt-control-common.h index 0bd7deb..f2dc38f 100644 --- a/src/console/dlt-control-common.h +++ b/src/console/dlt-control-common.h @@ -50,6 +50,9 @@ #define DLT_CTRL_DEFAULT_ECUID "ECU1" +#define NANOSEC_PER_MILLISEC 1000000 +#define NANOSEC_PER_SEC 1000000000 + /* To be used as Dlt Message body when sending to DLT daemon */ typedef struct { |