Skip to content

Commit 06dac12

Browse files
Quency-DXaositekthebentern
authored
Swap the GPS serial port pins. (#8756)
* Swap the GPS serial port pins. * Trunk fixes --------- Co-authored-by: Jason P <[email protected]> Co-authored-by: Ben Meadors <[email protected]>
1 parent d60b263 commit 06dac12

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

variants/nrf52840/heltec_mesh_node_t114-inkhud/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ No longer populated on PCB
116116
#define PIN_GPS_PPS (32 + 4)
117117
// Seems to be missing on this new board
118118
// #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS
119-
#define GPS_TX_PIN (32 + 5) // This is for bits going TOWARDS the CPU
120-
#define GPS_RX_PIN (32 + 7) // This is for bits going TOWARDS the GPS
119+
#define GPS_TX_PIN (32 + 7) // This is for bits going TOWARDS the CPU
120+
#define GPS_RX_PIN (32 + 5) // This is for bits going TOWARDS the GPS
121121

122122
#define GPS_THREAD_INTERVAL 50
123123

124-
#define PIN_SERIAL1_RX GPS_TX_PIN
125-
#define PIN_SERIAL1_TX GPS_RX_PIN
124+
#define PIN_SERIAL1_RX GPS_RX_PIN
125+
#define PIN_SERIAL1_TX GPS_TX_PIN
126126

127127
// PCF8563 RTC Module
128128
#define PCF8563_RTC 0x51

variants/nrf52840/heltec_mesh_node_t114/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ No longer populated on PCB
172172

173173
#define GPS_THREAD_INTERVAL 50
174174

175-
#define PIN_SERIAL1_RX GPS_TX_PIN
176-
#define PIN_SERIAL1_TX GPS_RX_PIN
175+
#define PIN_SERIAL1_RX GPS_RX_PIN
176+
#define PIN_SERIAL1_TX GPS_TX_PIN
177177

178178
// PCF8563 RTC Module
179179
#define PCF8563_RTC 0x51

variants/nrf52840/heltec_mesh_solar/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ No longer populated on PCB
116116
#define PIN_GPS_PPS (32 + 4)
117117
// Seems to be missing on this new board
118118
// #define PIN_GPS_PPS (32 + 4) // Pulse per second input from the GPS
119-
#define GPS_TX_PIN (32 + 5) // This is for bits going TOWARDS the CPU
120-
#define GPS_RX_PIN (32 + 7) // This is for bits going TOWARDS the GPS
119+
#define GPS_TX_PIN (32 + 7) // This is for bits going TOWARDS the CPU
120+
#define GPS_RX_PIN (32 + 5) // This is for bits going TOWARDS the GPS
121121

122122
#define GPS_THREAD_INTERVAL 50
123123

124-
#define PIN_SERIAL1_RX GPS_TX_PIN
125-
#define PIN_SERIAL1_TX GPS_RX_PIN
124+
#define PIN_SERIAL1_RX GPS_RX_PIN
125+
#define PIN_SERIAL1_TX GPS_TX_PIN
126126

127127
/*
128128
* SPI Interfaces

0 commit comments

Comments
 (0)