mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-16 06:57:57 +00:00
blemesh: Fix compiler error when building without PB_ADV
Error: repos/apache-mynewt-core/net/nimble/host/mesh/src/prov.c: In
function 'bt_mesh_prov_reset_link':
repos/apache-mynewt-core/net/nimble/host/mesh/src/prov.c:1590:9:
error:
'struct prov_link' has no member named 'rx'
link.rx.buf = bt_mesh_proxy_get_buf();
X-Original-Commit: 1fe74b20f54f7e0ab9e6f62e05234cd5a1dc4c22
This commit is contained in:
@@ -131,6 +131,7 @@ struct prov_link {
|
||||
|
||||
#if (MYNEWT_VAL(BLE_MESH_PB_ADV))
|
||||
u32_t id; /* Link ID */
|
||||
#endif
|
||||
|
||||
struct {
|
||||
u8_t id; /* Transaction ID */
|
||||
@@ -154,7 +155,6 @@ struct prov_link {
|
||||
/* Retransmit timer */
|
||||
struct k_delayed_work retransmit;
|
||||
} tx;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct prov_rx {
|
||||
|
||||
Reference in New Issue
Block a user