From 16b29ef22a070d5f84d7d52adca2629b4e46935d Mon Sep 17 00:00:00 2001 From: Christian Muck Date: Wed, 21 Mar 2012 09:50:11 +0100 Subject: [GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0 Signed-off-by: Christian Muck --- include/dlt/dlt_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/dlt/dlt_user.h') 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; -- cgit v1.2.1