From 4eb6581b76171a116b13db816ef7cccfba8665f6 Mon Sep 17 00:00:00 2001 From: Read Error Date: Tue, 27 Oct 2015 03:42:22 -0400 Subject: [PATCH] Allow USART1 to be used for SERIAL_RX --- src/main/drivers/serial_uart_stm32f10x.c | 2 +- src/main/drivers/serial_uart_stm32f30x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/serial_uart_stm32f10x.c b/src/main/drivers/serial_uart_stm32f10x.c index 09dd7520cf..678e1b2f6f 100644 --- a/src/main/drivers/serial_uart_stm32f10x.c +++ b/src/main/drivers/serial_uart_stm32f10x.c @@ -49,7 +49,7 @@ static uartPort_t uartPort3; #endif // Using RX DMA disables the use of receive callbacks -#define USE_USART1_RX_DMA +//#define USE_USART1_RX_DMA #if defined(CC3D) // FIXME move board specific code to target.h files. #undef USE_USART1_RX_DMA diff --git a/src/main/drivers/serial_uart_stm32f30x.c b/src/main/drivers/serial_uart_stm32f30x.c index c7d62d5f06..fb43261eee 100644 --- a/src/main/drivers/serial_uart_stm32f30x.c +++ b/src/main/drivers/serial_uart_stm32f30x.c @@ -38,7 +38,7 @@ #include "serial_uart_impl.h" // Using RX DMA disables the use of receive callbacks -#define USE_USART1_RX_DMA +//#define USE_USART1_RX_DMA //#define USE_USART2_RX_DMA //#define USE_USART2_TX_DMA //#define USE_USART3_RX_DMA