mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Temporary increase serial TX buffer sizes
This commit is contained in:
parent
6995f694a3
commit
5877ee1ebf
1 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
||||||
#define UART_RX_BUFFER_SIZE 128
|
#define UART_RX_BUFFER_SIZE 128
|
||||||
#endif
|
#endif
|
||||||
#ifndef UART_TX_BUFFER_SIZE
|
#ifndef UART_TX_BUFFER_SIZE
|
||||||
#define UART_TX_BUFFER_SIZE 128
|
#define UART_TX_BUFFER_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
#elif defined(STM32F3)
|
#elif defined(STM32F3)
|
||||||
#define UARTDEV_COUNT_MAX 5
|
#define UARTDEV_COUNT_MAX 5
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
#define UART_RX_BUFFER_SIZE 128
|
#define UART_RX_BUFFER_SIZE 128
|
||||||
#endif
|
#endif
|
||||||
#ifndef UART_TX_BUFFER_SIZE
|
#ifndef UART_TX_BUFFER_SIZE
|
||||||
#define UART_TX_BUFFER_SIZE 128
|
#define UART_TX_BUFFER_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
#define UARTDEV_COUNT_MAX 6
|
#define UARTDEV_COUNT_MAX 6
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
#define UART_RX_BUFFER_SIZE 128
|
#define UART_RX_BUFFER_SIZE 128
|
||||||
#endif
|
#endif
|
||||||
#ifndef UART_TX_BUFFER_SIZE
|
#ifndef UART_TX_BUFFER_SIZE
|
||||||
#define UART_TX_BUFFER_SIZE 128
|
#define UART_TX_BUFFER_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
#elif defined(STM32F7)
|
#elif defined(STM32F7)
|
||||||
#define UARTDEV_COUNT_MAX 8
|
#define UARTDEV_COUNT_MAX 8
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
#define UART_RX_BUFFER_SIZE 128
|
#define UART_RX_BUFFER_SIZE 128
|
||||||
#endif
|
#endif
|
||||||
#ifndef UART_TX_BUFFER_SIZE
|
#ifndef UART_TX_BUFFER_SIZE
|
||||||
#define UART_TX_BUFFER_SIZE 128
|
#define UART_TX_BUFFER_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#error unknown MCU family
|
#error unknown MCU family
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue