Skip to content
Permalink
Browse files

Add cast for compatibility with the next version of CurieBLE

  • Loading branch information...
sandeepmistry committed Dec 2, 2016
1 parent 0eb25f2 commit bebfe5dbca945a51580019d2a5594f003b7db18b
Showing with 1 addition and 1 deletion.
  1. +1 −1 utility/BLEStream.h
@@ -118,7 +118,7 @@ bool BLEStream::poll()

void BLEStream::end()
{
this->_rxCharacteristic.setEventHandler(BLEWritten, NULL);
this->_rxCharacteristic.setEventHandler(BLEWritten, (void(*)(BLECentral&, BLECharacteristic&))NULL);
this->_rxHead = this->_rxTail = 0;
flush();
BLEPeripheral::disconnect();

0 comments on commit bebfe5d

Please sign in to comment.
You can’t perform that action at this time.