We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44e9026 + bebfe5d commit 947784fCopy full SHA for 947784f
utility/BLEStream.h
@@ -118,7 +118,7 @@ bool BLEStream::poll()
118
119
void BLEStream::end()
120
{
121
- this->_rxCharacteristic.setEventHandler(BLEWritten, NULL);
+ this->_rxCharacteristic.setEventHandler(BLEWritten, (void(*)(BLECentral&, BLECharacteristic&))NULL);
122
this->_rxHead = this->_rxTail = 0;
123
flush();
124
BLEPeripheral::disconnect();
0 commit comments