fix(nimble): Corrected structure field name usage in examples

This commit is contained in:
Rahul Tank
2025-04-29 21:44:57 +05:30
parent 678ac6a83a
commit fec3a5f5bd
8 changed files with 15 additions and 15 deletions
@@ -110,8 +110,8 @@ periodic_sync_gap_event(struct ble_gap_event *event, void *arg)
switch (event->type) {
#if CONFIG_EXAMPLE_EXTENDED_ADV
case BLE_GAP_EVENT_EXT_DISC:
/* An advertisment report was received during GAP discovery. */
struct ble_gap_ext_disc_desc *disc = ((struct ble_gap_ext_disc_desc *)(&event->disc));
/* An advertisement report was received during GAP discovery. */
struct ble_gap_ext_disc_desc *disc = ((struct ble_gap_ext_disc_desc *)(&event->ext_disc));
if (disc->sid == 2 && synced == 0) {
synced++;
const ble_addr_t addr;