fix compile error

This commit is contained in:
hathach committed 2017-10-05 19:06:07 +07:00
1 parent 4da3f17e5f
commit 2da5145cbc
2 files changed
+5 -3

No files matched your search

@@ -487,7 +487,7 @@ bool BLECharacteristic::notify(const void* data, uint16_t len)
while ( remaining )
{
// TODO multiple connection support
if ( !Bluefruit.Gap.getTxPacket( Bluefruit.connHandle() ) ) return BLE_ERROR_NO_TX_PACKETS;
if ( !Bluefruit.Gap.getTxPacket( Bluefruit.connHandle() ) ) return NRF_ERROR_RESOURCES; //BLE_ERROR_NO_TX_PACKETS;
uint16_t packet_len = min16(MTU_MPS, remaining);