fix #64: GapAdvertisingData::getPayload() should return the payload pointer regardless of len.
This commit is contained in:
parent
3711ca3016
commit
24a989212a
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ public:
|
|||
* Returns a pointer to the the current payload
|
||||
*/
|
||||
const uint8_t *getPayload(void) const {
|
||||
return (_payloadLen > 0) ? _payload : NULL;
|
||||
return _payload;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue