Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add cast for compatibility with the next version of CurieBLE
  • Loading branch information
sandeepmistry committed Dec 2, 2016
commit bebfe5dbca945a51580019d2a5594f003b7db18b
2 changes: 1 addition & 1 deletion utility/BLEStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down