Skip to content

Commit 092e134

Browse files
committed
Make GPS default port conditional
1 parent 6d68337 commit 092e134

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/BETAFPVH725/config.h

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

107107
#define ESC_SENSOR_UART SERIAL_PORT_USART1
108+
#ifdef USE_GPS
108109
#define GPS_UART SERIAL_PORT_UART4
110+
#endif
109111

110112
#if defined(USE_OSD_HD) && defined(USE_SERIALRX_SBUS)
111113
#define SERIALRX_UART SERIAL_PORT_USART3

0 commit comments

Comments
 (0)