Skip to content

Commit

Permalink
Merge branch 'fix/added_a_change_to_print_address_of_advertising_inst…
Browse files Browse the repository at this point in the history
…ance_v5.3' into 'release/v5.3'

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

See merge request espressif/esp-idf!33561
  • Loading branch information
rahult-github committed Sep 19, 2024
2 parents 01613ca + fd98cf0 commit bae4cf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/bluetooth/nimble/ble_multi_adv/main/main.c
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit bae4cf5

Please sign in to comment.