fix: data was renamed to adv

This commit is contained in:
Pavel Veretennikov 2024-08-23 15:00:45 +03:00 committed by h2zero
parent cd115f1738
commit 6f03b9a6ef

View file

@ -70,7 +70,7 @@ bool NimBLEExtAdvertising::setInstanceData(uint8_t inst_id, NimBLEExtAdvertiseme
NULL); NULL);
#else #else
int rc = ble_gap_ext_adv_configure(inst_id, int rc = ble_gap_ext_adv_configure(inst_id,
&data.m_params, &adv.m_params,
NULL, NULL,
NimBLEExtAdvertising::handleGapEvent, NimBLEExtAdvertising::handleGapEvent,
NULL); NULL);