Skip to content

Commit 83518e6

Browse files
committed
Make GPS default port conditional
1 parent 6d68337 commit 83518e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configs/BETAFPVH725/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@
105105
#define MAG_I2C_INSTANCE I2CDEV_1
106106

107107
#define ESC_SENSOR_UART SERIAL_PORT_USART1
108+
109+
#ifdef USE_GPS
108110
#define GPS_UART SERIAL_PORT_UART4
111+
#endif
109112

110113
#if defined(USE_OSD_HD) && defined(USE_SERIALRX_SBUS)
111114
#define SERIALRX_UART SERIAL_PORT_USART3

0 commit comments

Comments
 (0)