mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Allow USART1 to be used for SERIAL_RX
This commit is contained in:
parent
628bd6fb44
commit
4eb6581b76
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ static uartPort_t uartPort3;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Using RX DMA disables the use of receive callbacks
|
// 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.
|
#if defined(CC3D) // FIXME move board specific code to target.h files.
|
||||||
#undef USE_USART1_RX_DMA
|
#undef USE_USART1_RX_DMA
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "serial_uart_impl.h"
|
#include "serial_uart_impl.h"
|
||||||
|
|
||||||
// Using RX DMA disables the use of receive callbacks
|
// 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_RX_DMA
|
||||||
//#define USE_USART2_TX_DMA
|
//#define USE_USART2_TX_DMA
|
||||||
//#define USE_USART3_RX_DMA
|
//#define USE_USART3_RX_DMA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue