From d398456a2426c20fda733ca0136ee65c38a425ac Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 18 Jun 2024 19:36:47 +0200 Subject: [PATCH] Add default port defines --- configs/WARPF7/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configs/WARPF7/config.h b/configs/WARPF7/config.h index 23ea1ae0..7767bf2d 100644 --- a/configs/WARPF7/config.h +++ b/configs/WARPF7/config.h @@ -132,3 +132,13 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define PINIO1_BOX 40 #define PINIO2_BOX 41 + +#define SERIALRX_UART SERIAL_PORT_USART1 +#define ESC_SENSOR_UART SERIAL_PORT_USART2 +#ifdef USE_OSD_SD +#define VTX_SMARTAUDIO_UART SERIAL_PORT_USART3 +#endif +#ifdef USE_OSD_HD +#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART3 +#endif +#define GPS_UART SERIAL_PORT_UART4