apps/btshell: Fix minor coding style issue
This fixes minor coding style issue in btshell_scan_opts.
diff --git a/apps/btshell/src/btshell.h b/apps/btshell/src/btshell.h
index 83daded..c74ca2f 100644
--- a/apps/btshell/src/btshell.h
+++ b/apps/btshell/src/btshell.h
@@ -90,8 +90,8 @@
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 1b20078..1924e4f 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -1107,10 +1107,10 @@
*****************************************************************************/
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