apps/btshell: Fix minor coding style issue

This fixes minor coding style issue in btshell_scan_opts.
This commit is contained in:
Mariusz Skamra
2024-02-28 08:36:04 +01:00
committed by Łukasz Rymanowski
parent 2e368caab2
commit 56a23bc0fe
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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];
};
+4 -4
View File
@@ -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