summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>2019-07-17 11:31:37 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-09-13 08:49:36 +0900
commit8f8dc13c86e2c7e839b6ff0a6b2dd29e19b58de6 (patch)
treeebb8b869599be074a6347e4c2df73b35d8cded03 /include
parente1e86da8f6db688a6ffce6370975dfcaad7a62aa (diff)
downloadDLT-daemon-8f8dc13c86e2c7e839b6ff0a6b2dd29e19b58de6.tar.gz
libdlt: calculate resend buffer memory
The fix from commit 376bf6c is considered as a workaround. From now, the resend buffer size is calculated based on (dlt_user.log_buf_len + header_size) - Remove the macro DLT_USER_EXTRA_BUFF_SIZE - Use env_disable_extended_header_for_nonverbose instead of env_nonverbose_extended_header Related commit: 376bf6c Size of Resend buffer less than or equal to DLT_USER_BUF_MAX_SIZE res… (#116) Signed-off-by: Bui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_user.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index 405d342..85656d9 100644
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -212,7 +212,7 @@ typedef struct
DltReceiver receiver; /**< Receiver for internal user-defined messages from daemon */
int8_t verbose_mode; /**< Verbose mode enabled: 1 enabled, 0 disabled */
- int8_t use_extende_header_for_non_verbose; /**< Use extended header for non verbose: 1 enabled, 0 disabled */
+ int8_t use_extended_header_for_non_verbose; /**< Use extended header for non verbose: 1 enabled, 0 disabled */
int8_t with_session_id; /**< Send always session id: 1 enabled, 0 disabled */
int8_t with_timestamp; /**< Send always timestamp: 1 enabled, 0 disabled */
int8_t with_ecu_id; /**< Send always ecu id: 1 enabled, 0 disabled */
@@ -675,10 +675,10 @@ DltReturnValue dlt_nonverbose_mode(void);
/**
* Use extended header in non verbose mode.
* Enabled by default.
- * @param use_extende_header_for_non_verbose Use extended header for non verbose mode if true
+ * @param use_extended_header_for_non_verbose Use extended header for non verbose mode if true
* @return Value from DltReturnValue enum
*/
-DltReturnValue dlt_use_extended_header_for_non_verbose(int8_t use_extende_header_for_non_verbose);
+DltReturnValue dlt_use_extended_header_for_non_verbose(int8_t use_extended_header_for_non_verbose);
/**
* Send session id configuration.