summaryrefslogtreecommitdiff
path: root/include
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 15:37:22 +0100
commit16b29ef22a070d5f84d7d52adca2629b4e46935d (patch)
tree26b195b67180218769f9e53ae565234b23d0468f /include
parent24e50ebc858c296464c63ff7d322197291ecb020 (diff)
downloadDLT-daemon-16b29ef22a070d5f84d7d52adca2629b4e46935d.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')
-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;