mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[uart] if USE_UARTx instead of defined USE_UARTx
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@
|
||||
#include "subsystems/radio_control.h"
|
||||
#endif
|
||||
#endif
|
||||
#if defined USE_UART0 || defined USE_UART1 || defined USE_UART2 || defined USE_UART3 || defined USE_UART4 || defined USE_UART5 || defined USE_UART6
|
||||
#if USE_UART0 || USE_UART1 || USE_UART2 || USE_UART3 || USE_UART4 || USE_UART5 || USE_UART6
|
||||
#include "mcu_periph/uart.h"
|
||||
#endif
|
||||
#if defined USE_I2C0 || defined USE_I2C1 || defined USE_I2C2
|
||||
|
||||
Reference in New Issue
Block a user