File tree 1 file changed +5
-5
lines changed
components/bt/esp_ble_mesh/core/nimble_host
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1334,16 +1334,16 @@ int bt_mesh_gatts_service_start(struct bt_mesh_gatt_service *svc)
1334
1334
{
1335
1335
int rc ;
1336
1336
uint16_t handle ;
1337
-
1337
+ // const ble_uuid_t *uuid;
1338
1338
if (BLE_MESH_UUID_16 (svc -> attrs [0 ].user_data )-> val == BT_UUID_MESH_PROXY_VAL ) {
1339
- rc = ble_gatts_find_svc (BLE_UUID16_DECLARE (BT_UUID_MESH_PROXY_VAL ), & handle );
1339
+ const ble_uuid_t * uuid = BLE_UUID16_DECLARE (BT_UUID_MESH_PROXY_VAL );
1340
+ rc = ble_gatts_find_svc (uuid , & handle );
1340
1341
} else {
1341
- rc = ble_gatts_find_svc (BLE_UUID16_DECLARE (BT_UUID_MESH_PROV_VAL ), & handle );
1342
+ const ble_uuid_t * uuid = BLE_UUID16_DECLARE (BT_UUID_MESH_PROV_VAL );
1343
+ rc = ble_gatts_find_svc (uuid , & handle );
1342
1344
}
1343
-
1344
1345
assert (rc == 0 );
1345
1346
ble_gatts_svc_set_visibility (handle , 1 );
1346
-
1347
1347
/* FIXME: figure out end handle */
1348
1348
ble_svc_gatt_changed (handle , 0xffff );
1349
1349
You can’t perform that action at this time.
0 commit comments