mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: stack: Fix compile warning when log is disabled
This commit is contained in:
parent
bcd9710b86
commit
0edb86ddb0
@ -1186,6 +1186,8 @@ static int gatts_register(struct bt_mesh_gatt_service *svc)
|
||||
handle = last->attrs[last->attr_count - 1].handle;
|
||||
BT_DBG("gatts register, handle %d", handle);
|
||||
|
||||
ARG_UNUSED(handle);
|
||||
|
||||
populate:
|
||||
sys_slist_append(&bt_mesh_gatts_db, &svc->node);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user