improve adafruit fifo

This commit is contained in:
hathach committed 2017-07-26 15:13:45 +07:00
1 parent 2e1977d71f
commit 0cbbe8f291
5 files changed
+6 -6

No files matched your search

@@ -40,7 +40,7 @@ void bleuart_central_notify_cb(BLEClientCharacteristic& chr, uint8_t* data, uint
BLEClientUart::BLEClientUart(uint16_t fifo_depth)
: BLEClientService(BLEUART_UUID_SERVICE), _txd(BLEUART_UUID_CHR_TXD), _rxd(BLEUART_UUID_CHR_RXD),
_rx_fifo(fifo_depth, 1)
_rx_fifo(1, fifo_depth)
{
_rx_cb = NULL;
}