summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-log.c
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 13:42:57 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-10 13:42:57 +0100
commit3fcd7400a003a3f694f1638a31e3a9fe6cf1595a (patch)
tree48eed7f9f0387413d1bd63d7f691ae4d15e3a887 /src/system/dlt-system-log.c
parentd5d9ba55d97d872564e7e271f7ee6c73ec54031b (diff)
downloadDLT-daemon-3fcd7400a003a3f694f1638a31e3a9fe6cf1595a.tar.gz
Reverted old FIFO functions. Still SHM enabled by default.
Diffstat (limited to 'src/system/dlt-system-log.c')
-rw-r--r--src/system/dlt-system-log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system/dlt-system-log.c b/src/system/dlt-system-log.c
index cf2b495..6a76221 100644
--- a/src/system/dlt-system-log.c
+++ b/src/system/dlt-system-log.c
@@ -181,9 +181,11 @@ void dlt_system_filetransfer_run(DltSystemOptions *options,DltSystemRuntime *run
printf("Error: dlt_user_log_file_data\n");
return;
}
+#ifdef DLT_SHM_ENABLE
/* wait sending next package if more than 50% of buffer used */
dlt_user_check_buffer(&total_size, &used_size);
if((total_size - used_size) < (total_size/2))
+#endif
break;
}
if(runtime->filetransferLastSentPackage==runtime->filetransferCountPackages) {