fix(nimble): Added a change to print address of an advertising instance

This commit is contained in:
shreeyash 2024-09-12 15:39:30 +05:30
parent 95e16f6a72
commit 51b80c4d16

View File

@ -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;
}