mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
BLE Mesh: Fix compilation for NimBLE-1.3.0 upgrade by typecasting adv data to void
This commit is contained in:
parent
8224aa69a2
commit
7252c99a14
@ -391,7 +391,7 @@ static int disc_cb(struct ble_gap_event *event, void *arg)
|
||||
struct net_buf_simple buf = {0};
|
||||
|
||||
desc = &event->disc;
|
||||
net_buf_simple_init_with_data(&buf, desc->data, desc->length_data);
|
||||
net_buf_simple_init_with_data(&buf, (void *)desc->data, desc->length_data);
|
||||
|
||||
if (bt_mesh_scan_dev_found_cb) {
|
||||
bt_mesh_scan_dev_found_cb((bt_mesh_addr_t *)&desc->addr, desc->rssi, desc->event_type, &buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user