![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aa
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of BLE_API by
Diff: ble/GapAdvertisingData.h
- Revision:
- 769:2d236d9afa9e
- Parent:
- 765:4cd91998cd48
- Child:
- 795:56c6a9ce4ffc
--- a/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100 +++ b/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100 @@ -328,7 +328,7 @@ * Returns a pointer to the the current payload */ const uint8_t *getPayload(void) const { - return (_payloadLen > 0) ? _payload : NULL; + return _payload; } /**