1
0
Fork 0
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:
jflyper 2018-10-08 14:33:35 +09:00
parent 66657486e1
commit 00dab4288f
15 changed files with 38 additions and 18 deletions

View file

@ -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?