This is an automated email from the ASF dual-hosted git repository. rymek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 56a23bc0feafd8726eea65863e882bb036d566af Author: Mariusz Skamra <[email protected]> AuthorDate: Tue Feb 27 14:08:39 2024 +0100 apps/btshell: Fix minor coding style issue This fixes minor coding style issue in btshell_scan_opts. --- apps/btshell/src/btshell.h | 4 ++-- apps/btshell/src/cmd.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/btshell/src/btshell.h b/apps/btshell/src/btshell.h index 83dadede5..c74ca2fa5 100644 --- a/apps/btshell/src/btshell.h +++ b/apps/btshell/src/btshell.h @@ -90,8 +90,8 @@ struct btshell_conn { struct btshell_scan_opts { uint16_t limit; - uint8_t ignore_legacy:1; - uint8_t periodic_only:1; + uint8_t ignore_legacy : 1; + uint8_t periodic_only : 1; uint8_t name_filter_len; char name_filter[NAME_FILTER_LEN_MAX]; }; diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c index 1b20078e8..1924e4f4e 100644 --- a/apps/btshell/src/cmd.c +++ b/apps/btshell/src/cmd.c @@ -1107,10 +1107,10 @@ static const struct shell_cmd_help disconnect_help = { *****************************************************************************/ static struct btshell_scan_opts g_scan_opts = { - .limit = UINT16_MAX, - .ignore_legacy = 0, - .periodic_only = 0, - .name_filter_len = 0, + .limit = UINT16_MAX, + .ignore_legacy = 0, + .periodic_only = 0, + .name_filter_len = 0, }; static int
