1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Increased UART buffer size on STM32F4, and

Ensured FAKE ESC will only apply if both USE_SERIAL_4WAY_BLHELI_BOOTLOADER and USE_FAKE_ESC defined.
This commit is contained in:
blckmn 2016-07-26 07:50:30 +10:00
parent 9c19333154
commit c1eecb7a5b
2 changed files with 4 additions and 3 deletions

View file

@ -30,8 +30,8 @@
#include "serial_uart.h"
#include "serial_uart_impl.h"
#define UART_RX_BUFFER_SIZE UART1_RX_BUFFER_SIZE
#define UART_TX_BUFFER_SIZE UART1_TX_BUFFER_SIZE
#define UART_RX_BUFFER_SIZE 512
#define UART_TX_BUFFER_SIZE 512
typedef enum UARTDevice {
UARTDEV_1 = 0,