diff --git a/radio/src/targets/common/arm/stm32/bluetooth_driver.cpp b/radio/src/targets/common/arm/stm32/bluetooth_driver.cpp index a7fa5a690..2a9e0848b 100644 --- a/radio/src/targets/common/arm/stm32/bluetooth_driver.cpp +++ b/radio/src/targets/common/arm/stm32/bluetooth_driver.cpp @@ -20,8 +20,8 @@ #include "opentx.h" -Fifo btTxFifo; -Fifo btRxFifo; +Fifo btTxFifo; +Fifo btRxFifo; #if defined(PCBX7) || defined(PCBXLITE) volatile uint8_t btChipPresent = 0; diff --git a/radio/src/targets/horus/board.h b/radio/src/targets/horus/board.h index 5514fe3c2..76d758640 100644 --- a/radio/src/targets/horus/board.h +++ b/radio/src/targets/horus/board.h @@ -609,6 +609,8 @@ void serial2Stop(void); #define USART_FLAG_ERRORS (USART_FLAG_ORE | USART_FLAG_NE | USART_FLAG_FE | USART_FLAG_PE) // BT driver +#define BT_TX_FIFO_SIZE 64 +#define BT_RX_FIFO_SIZE 128 #define BLUETOOTH_BOOTLOADER_BAUDRATE 230400 #define BLUETOOTH_FACTORY_BAUDRATE 57600 #define BLUETOOTH_DEFAULT_BAUDRATE 115200 diff --git a/radio/src/targets/taranis/board.h b/radio/src/targets/taranis/board.h index 8a8c8bb62..50ced0edf 100644 --- a/radio/src/targets/taranis/board.h +++ b/radio/src/targets/taranis/board.h @@ -726,6 +726,8 @@ void serial2Stop(void); #else #define BLUETOOTH_FACTORY_BAUDRATE 57600 #endif +#define BT_TX_FIFO_SIZE 64 +#define BT_RX_FIFO_SIZE 128 void bluetoothInit(uint32_t baudrate, bool enable); void bluetoothWriteWakeup(void); uint8_t bluetoothIsWriting(void);