summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user.h
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-03-21 09:50:11 +0100
committerChristian Muck <christian.muck@bmw.de>2012-03-21 09:50:11 +0100
commit70561b811ecd788cfcbd00d7045e23f0de358a97 (patch)
tree4687d53d7f55c0876c2b87f398aa991b19c1dc3c /include/dlt/dlt_user.h
parent3c10728ba6ebace39a88cf049a2e719c80e0ca41 (diff)
downloadDLT-daemon-70561b811ecd788cfcbd00d7045e23f0de358a97.tar.gz
[GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'include/dlt/dlt_user.h')
-rwxr-xr-xinclude/dlt/dlt_user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index ac889c7..edfeef2 100755
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -173,7 +173,8 @@ typedef enum
typedef struct
{
char contextID[4]; /**< context id */
- int32_t log_level_pos; /**< offset in user-application context field */
+ int32_t log_level_pos; /**< offset in user-application context field */
+ uint8_t mcnt; /**< message counter */
} DltContext;
/**
@@ -187,7 +188,6 @@ typedef struct
int32_t log_level; /**< log level */
int32_t trace_status; /**< trace status */
int32_t args_num; /**< number of arguments for extended header*/
- uint8_t mcnt; /**< message counter */
char* context_description; /**< description of context */
} DltContextData;