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:
parent
e81cc9696e
commit
1d4c8925cc
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue