Bluetooth: Fix missing braces
Change-Id: I3ad884e38428c48ee08c3778219508bd21bfa106 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
0000a2d790
commit
4baa3b9700
1 changed files with 2 additions and 1 deletions
|
@ -285,8 +285,9 @@ static uint8_t notify_cb(const struct bt_gatt_attr *attr, void *user_data)
|
|||
|
||||
if (bt_uuid_cmp(attr->uuid, &uuid)) {
|
||||
/* Stop if we reach the next characteristic */
|
||||
if (!bt_uuid_cmp(attr->uuid, &chrc))
|
||||
if (!bt_uuid_cmp(attr->uuid, &chrc)) {
|
||||
return BT_GATT_ITER_STOP;
|
||||
}
|
||||
return BT_GATT_ITER_CONTINUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue