fix: simu BT buffer overflow

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 6fade548fc
commit c7f2eb7eb7
2 changed files with 39 additions and 25 deletions
+5 -3
View File
@@ -21,9 +21,11 @@
#include "fifo.h"
//#define BT_TX_FIFO_SIZE 64
Fifo<uint8_t, 2> btTxFifo;
Fifo<uint8_t, 2> btRxFifo;
#define BT_TX_FIFO_SIZE 64
#define BT_RX_FIFO_SIZE 256
Fifo<uint8_t, BT_TX_FIFO_SIZE> btTxFifo;
Fifo<uint8_t, BT_RX_FIFO_SIZE> btRxFifo;
void bluetoothInit(unsigned int, bool) {}
void bluetoothDisable() {}