rename txbuf_get to getTxPacket

This commit is contained in:
hathach committed 2017-03-27 16:50:13 +07:00
1 parent c8a2a51008
commit 6ead6cc678
4 files changed
+4 -4

No files matched your search

@@ -470,7 +470,7 @@ err_t BLECharacteristic::notify(const void* data, int len, uint16_t offset)
while ( actual_len )
{
if ( !Bluefruit.txbuf_get(100) ) return BLE_ERROR_NO_TX_PACKETS;
if ( !Bluefruit.getTxPacket(100) ) return BLE_ERROR_NO_TX_PACKETS;
uint16_t packet_len = min16(MTU_MPS, actual_len);