mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-30 22:57:53 +00:00
apps/btshell: Fix minor coding style issue
This fixes minor coding style issue in btshell_scan_opts.
This commit is contained in:
committed by
Łukasz Rymanowski
parent
2e368caab2
commit
56a23bc0fe
@@ -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];
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user