Bluetooth: ATT: Fix typo in defines

Fix typo in ATT first/last attribute defines.

Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
This commit is contained in:
Jacob Siverskog 2021-10-21 11:40:03 +02:00 committed by Anas Nashif
commit 046f29a8cb
9 changed files with 25 additions and 23 deletions

View file

@ -146,8 +146,8 @@ static void connected(struct bt_conn *conn, uint8_t conn_err)
memcpy(&uuid, BT_UUID_HTS, sizeof(uuid));
discover_params.uuid = &uuid.uuid;
discover_params.func = discover_func;
discover_params.start_handle = BT_ATT_FIRST_ATTTRIBUTE_HANDLE;
discover_params.end_handle = BT_ATT_LAST_ATTTRIBUTE_HANDLE;
discover_params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE;
discover_params.end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE;
discover_params.type = BT_GATT_DISCOVER_PRIMARY;
err = bt_gatt_discover(default_conn, &discover_params);