mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +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
|
||||
|
||||
// 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
|
||||
|
||||
#if defined(CC3D) // FIXME move board specific code to target.h files.
|
||||
#undef USE_USART1_RX_DMA
|
||||
#endif
|
||||
|
||||
void uartStartTxDMA(uartPort_t *s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue