From 6f03b9a6ef9d9e35405733a042729b13cb9cce20 Mon Sep 17 00:00:00 2001 From: Pavel Veretennikov Date: Fri, 23 Aug 2024 15:00:45 +0300 Subject: [PATCH] fix: data was renamed to adv --- src/NimBLEExtAdvertising.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NimBLEExtAdvertising.cpp b/src/NimBLEExtAdvertising.cpp index 60575e0..c8abfa2 100644 --- a/src/NimBLEExtAdvertising.cpp +++ b/src/NimBLEExtAdvertising.cpp @@ -70,7 +70,7 @@ bool NimBLEExtAdvertising::setInstanceData(uint8_t inst_id, NimBLEExtAdvertiseme NULL); #else int rc = ble_gap_ext_adv_configure(inst_id, - &data.m_params, + &adv.m_params, NULL, NimBLEExtAdvertising::handleGapEvent, NULL);