summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>2020-08-03 10:22:58 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-08-03 13:54:00 +0900
commitef7ca2706aa2e877c1be62d73554c6c79996d69a (patch)
tree37b371d003b55f47444edabc4282fd5f82730750
parentf1ac087c766827b1d0ed9c3a814b3cc052e948f2 (diff)
downloadDLT-daemon-ef7ca2706aa2e877c1be62d73554c6c79996d69a.tar.gz
dlt_user.c: fix the lack of DLT_NETWORK_TRACE_ENABLE definition
Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>
-rw-r--r--src/lib/dlt_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index e43c835..ae076ca 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -4631,12 +4631,14 @@ int dlt_start_threads()
return -1;
}
+#ifdef DLT_NETWORK_TRACE_ENABLE
/* Start the segmented thread */
if (pthread_create(&(dlt_user.dlt_segmented_nwt_handle), NULL,
(void *)dlt_user_trace_network_segmented_thread, NULL)) {
dlt_log(LOG_CRIT, "Can't start segmented thread!\n");
return -1;
}
+#endif
return 0;
}