mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(nimble): Added a change to print address of an advertising instance
This commit is contained in:
parent
8b962f91a2
commit
9725f3af74
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -105,6 +105,8 @@ ble_multi_adv_set_addr(uint16_t instance)
|
||||
return rc;
|
||||
}
|
||||
|
||||
print_addr(addr.val);
|
||||
|
||||
memcpy(&ble_instance_cb[instance].addr, &addr, sizeof(addr));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user