1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Invert the useage of USE_USART1_RX_DMA for clarity.

This commit is contained in:
Dominic Clifton 2015-01-29 21:27:13 +01:00
parent e81cc9696e
commit 1d4c8925cc

View file

@ -48,8 +48,10 @@ static uartPort_t uartPort3;
#endif #endif
// Using RX DMA disables the use of receive callbacks // Using RX DMA disables the use of receive callbacks
#if !defined(CC3D) // FIXME move board specific code to target.h files.
#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
#endif #endif
void uartStartTxDMA(uartPort_t *s); void uartStartTxDMA(uartPort_t *s);