mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
More strict application of USE_UART and USE_INVERTER
This commit is contained in:
parent
66657486e1
commit
00dab4288f
15 changed files with 38 additions and 18 deletions
|
@ -31,6 +31,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#ifdef USE_UART
|
||||
|
||||
#include "drivers/system.h"
|
||||
#include "drivers/io.h"
|
||||
#include "drivers/nvic.h"
|
||||
|
@ -41,8 +43,6 @@
|
|||
#include "drivers/serial_uart.h"
|
||||
#include "drivers/serial_uart_impl.h"
|
||||
|
||||
#ifdef USE_UART
|
||||
|
||||
#ifdef USE_UART1_RX_DMA
|
||||
# define UART1_RX_DMA_CHANNEL DMA1_Channel5
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue