mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +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
|
@ -32,6 +32,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#ifdef USE_UART
|
||||
|
||||
#include "drivers/system.h"
|
||||
#include "drivers/io.h"
|
||||
#include "drivers/nvic.h"
|
||||
|
@ -42,8 +44,6 @@
|
|||
#include "drivers/serial_uart.h"
|
||||
#include "drivers/serial_uart_impl.h"
|
||||
|
||||
#ifdef USE_UART
|
||||
|
||||
// XXX Will DMA eventually be configurable?
|
||||
// XXX Do these belong here?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue