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.
1 parent 0eb25f2 commit bebfe5dCopy full SHA for bebfe5d
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