1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +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

@ -27,6 +27,8 @@
#include "platform.h"
#ifdef USE_UART
#include "drivers/system.h"
#include "drivers/io.h"
#include "drivers/dma.h"
@ -37,8 +39,6 @@
#include "drivers/serial_uart.h"
#include "drivers/serial_uart_impl.h"
#ifdef USE_UART
const uartHardware_t uartHardware[UARTDEV_COUNT] = {
#ifdef USE_UART1
{