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:
parent
66657486e1
commit
00dab4288f
15 changed files with 38 additions and 18 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue