From 9a91fe28c05c54f7428325b0290a29c28966ae56 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Mon, 19 May 2014 14:23:55 +0200 Subject: DLT_CSTRING implementation non verbose mode. Signed-off-by: Alexander Wenzel --- src/lib/dlt_user.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/lib/dlt_user.c') diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c index 0b28ff8..2d04467 100644 --- a/src/lib/dlt_user.c +++ b/src/lib/dlt_user.c @@ -1853,6 +1853,17 @@ int dlt_user_log_write_string(DltContextData *log, const char *text) return 0; } +int dlt_user_log_write_constant_string(DltContextData *log, const char *text) +{ + /* Send parameter only in verbose mode */ + if (dlt_user.verbose_mode) + { + return dlt_user_log_write_string(log,text); + } + + return 0; +} + int dlt_user_log_write_utf8_string(DltContextData *log, const char *text) { uint16_t arg_size; -- cgit v1.2.1