You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2019/10/23 18:47:37 UTC
[mynewt-mcumgr] branch master updated: cmd/log_mgmt: fix typo in
config names
This is an automated email from the ASF dual-hosted git repository.
vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
The following commit(s) were added to refs/heads/master by this push:
new 9c263fe cmd/log_mgmt: fix typo in config names
new e1372ec Merge pull request #40 from vrahane/log_config_varible_fix
9c263fe is described below
commit 9c263fe12e63ccf063c961e382d09b0372095b4e
Author: Vipul Rahane <vr...@gmail.com>
AuthorDate: Wed Oct 23 11:33:00 2019 -0700
cmd/log_mgmt: fix typo in config names
---
cmd/log_mgmt/Kconfig | 2 +-
cmd/log_mgmt/include/log_mgmt/log_mgmt_config.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmd/log_mgmt/Kconfig b/cmd/log_mgmt/Kconfig
index f0adaa5..bb59dfd 100644
--- a/cmd/log_mgmt/Kconfig
+++ b/cmd/log_mgmt/Kconfig
@@ -44,7 +44,7 @@ config LOG_MGMT_CHUNK_LEN
read in chunks upto a point where the entire entry is read. Also, a buffer gets
allocated on the stack with this size.
-config LOG_READ_WATERMARK_UPDATE
+config LOG_MGMT_READ_WATERMARK_UPDATE
bool "Enable reading of log watermark update"
help
Enables reading of log watermark update
diff --git a/cmd/log_mgmt/include/log_mgmt/log_mgmt_config.h b/cmd/log_mgmt/include/log_mgmt/log_mgmt_config.h
index ee56256..37d02f9 100644
--- a/cmd/log_mgmt/include/log_mgmt/log_mgmt_config.h
+++ b/cmd/log_mgmt/include/log_mgmt/log_mgmt_config.h
@@ -27,7 +27,7 @@
#define LOG_MGMT_CHUNK_LEN MYNEWT_VAL(LOG_MGMT_CHUNK_LEN)
#define LOG_MGMT_NAME_LEN MYNEWT_VAL(LOG_MGMT_NAME_LEN)
#define LOG_MGMT_MAX_RSP_LEN MYNEWT_VAL(LOG_MGMT_MAX_RSP_LEN)
-#define LOG_MGMT_WATERMARK_UPDATE MYNEWT_VAL(LOG_READ_WATERMARK_UPDATE)
+#define LOG_MGMT_READ_WATERMARK_UPDATE MYNEWT_VAL(LOG_READ_WATERMARK_UPDATE)
#define LOG_MGMT_GLOBAL_IDX MYNEWT_VAL(LOG_GLOBAL_IDX)
#define LOG_MGMT_IMG_HASHLEN 4
@@ -36,7 +36,7 @@
#define LOG_MGMT_CHUNK_LEN CONFIG_LOG_MGMT_CHUNK_LEN
#define LOG_MGMT_NAME_LEN CONFIG_LOG_MGMT_NAME_LEN
#define LOG_MGMT_MAX_RSP_LEN CONFIG_LOG_MGMT_MAX_RSP_LEN
-#define LOG_MGMT_WATERMARK_UPDATE CONFIG_LOG_READ_WATERMARK_UPDATE
+#define LOG_MGMT_READ_WATERMARK_UPDATE CONFIG_LOG_READ_WATERMARK_UPDATE
#define LOG_MGMT_GLOBAL_IDX CONFIG_LOG_GLOBAL_IDX
#else