Update BLERemoteCharacteristic.cpp (#2800)
Prevents the error that is generated on free on row 186 When calling the function readValue() sometimes it gave an error on this free.
This commit is contained in:
parent
e57de64a3c
commit
714ba948e6
@ -39,6 +39,7 @@ BLERemoteCharacteristic::BLERemoteCharacteristic(
|
|||||||
m_charProp = charProp;
|
m_charProp = charProp;
|
||||||
m_pRemoteService = pRemoteService;
|
m_pRemoteService = pRemoteService;
|
||||||
m_notifyCallback = nullptr;
|
m_notifyCallback = nullptr;
|
||||||
|
m_rawData = nullptr;
|
||||||
|
|
||||||
retrieveDescriptors(); // Get the descriptors for this characteristic
|
retrieveDescriptors(); // Get the descriptors for this characteristic
|
||||||
log_v("<< BLERemoteCharacteristic");
|
log_v("<< BLERemoteCharacteristic");
|
||||||
|
Loading…
Reference in New Issue
Block a user