add BLECharacteristic destructor
This commit is contained in:
1 parent
bd96f7df90
commit
e45f489767
2 files changed
+10
No files matched your search
@@ -87,6 +87,14 @@ BLEService& BLECharacteristic::parentService (void)
|
||||
return *_service;
|
||||
}
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
BLECharacteristic::~BLECharacteristic()
|
||||
{
|
||||
// Bluefruit.Gatt._removeCharacteristic(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Must be set when Charactertistic is declared locally (e.g insdie function)
|
||||
* and is not last throughout programs. Useful for one-shot set-and-forget
|
||||
|
||||
@@ -116,6 +116,8 @@ class BLECharacteristic
|
||||
BLECharacteristic(void);
|
||||
BLECharacteristic(BLEUuid bleuuid);
|
||||
|
||||
virtual ~BLECharacteristic();
|
||||
|
||||
BLEService& parentService(void);
|
||||
|
||||
void setTempMemory(void);
|
||||
|
||||
Reference in new issue
Block a user