mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 21:50:55 +01:00
Fix Advertised device initialization.
This commit is contained in:
parent
758c4d0471
commit
b807e6671f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ NimBLEAdvertisedDevice::NimBLEAdvertisedDevice(const ble_gap_event* event, uint8
|
|||
m_rssi{event->disc.rssi},
|
||||
m_callbackSent{0},
|
||||
m_advLength{event->disc.length_data},
|
||||
m_payload{event->disc.data, event->disc.data + event->disc.length_data} {
|
||||
m_payload(event->disc.data, event->disc.data + event->disc.length_data) {
|
||||
# endif
|
||||
} // NimBLEAdvertisedDevice
|
||||
|
||||
|
|
Loading…
Reference in a new issue