Skip to content

Commit ff67c78

Browse files
authored
Merge pull request #985 from liquidraver/dev3
Fix reversed GPS PINs on G2 and enable timesync
2 parents 11a0bd6 + 0920dc6 commit ff67c78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

variants/station_g2/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ build_flags =
2121
-D PIN_BOARD_SDA=5
2222
-D PIN_BOARD_SCL=6
2323
-D PIN_USER_BTN=38
24-
-D PIN_GPS_RX=7
25-
-D PIN_GPS_TX=15
24+
-D PIN_GPS_RX=15
25+
-D PIN_GPS_TX=7
2626
-D SX126X_DIO2_AS_RF_SWITCH=true
2727
-D SX126X_DIO3_TCXO_VOLTAGE=1.8
2828
-D SX126X_CURRENT_LIMIT=140

variants/station_g2/target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AutoDiscoverRTCClock rtc_clock(fallback_clock);
1717

1818
#if ENV_INCLUDE_GPS
1919
#include <helpers/sensors/MicroNMEALocationProvider.h>
20-
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1);
20+
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1, &rtc_clock);
2121
EnvironmentSensorManager sensors = EnvironmentSensorManager(nmea);
2222
#else
2323
EnvironmentSensorManager sensors;

0 commit comments

Comments
 (0)