mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
ble_mesh: stack: Fix compile warning when log is disabled
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user