bluetooth: fixes shadow variables
Massaging code to fix shadow variables found by -Wshadow. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
6e38356b3c
commit
e3ecca5784
47 changed files with 729 additions and 765 deletions
|
@ -135,7 +135,7 @@ struct mcs_instance_t {
|
|||
#endif /* CONFIG_BT_MCC_OTS */
|
||||
};
|
||||
|
||||
static struct mcs_instance_t mcs_inst;
|
||||
static struct mcs_instance_t mcs_instance;
|
||||
static struct bt_uuid_16 uuid = BT_UUID_INIT_16(0);
|
||||
|
||||
static struct bt_mcc_cb *mcc_cb;
|
||||
|
@ -168,7 +168,7 @@ static struct mcs_instance_t *lookup_inst_by_conn(struct bt_conn *conn)
|
|||
}
|
||||
|
||||
/* TODO: Expand when supporting more instances */
|
||||
return &mcs_inst;
|
||||
return &mcs_instance;
|
||||
}
|
||||
|
||||
static void mcc_player_name_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue