Allow USART1 to be used for SERIAL_RX

This commit is contained in:
Read Error 2015-10-27 03:42:22 -04:00 committed by Dominic Clifton
parent 628bd6fb44
commit 4eb6581b76
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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