Skip to content

Commit

Permalink
apps/btshell: Fix minor coding style issue
Browse files Browse the repository at this point in the history
This fixes minor coding style issue in btshell_scan_opts.
  • Loading branch information
MariuszSkamra committed Feb 27, 2024
1 parent ba067a0 commit 0c22b8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/btshell/src/btshell.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand Down
8 changes: 4 additions & 4 deletions apps/btshell/src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c22b8e

Please sign in to comment.