mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-06 05:14:45 +00:00
mesh: Fix unused variable error when PB_ADV and PB_GATT disabled
This commit is contained in:
@@ -1616,6 +1616,8 @@ int bt_mesh_prov_init(const struct bt_mesh_prov *prov_info)
|
||||
|
||||
prov = prov_info;
|
||||
|
||||
(void)prov_handlers;
|
||||
|
||||
#if (MYNEWT_VAL(BLE_MESH_PB_ADV))
|
||||
k_delayed_work_init(&link.tx.retransmit, prov_retransmit);
|
||||
link.rx.prev_id = XACT_NVAL;
|
||||
|
||||
Reference in New Issue
Block a user