Fix backwards GPS_RX_PIN/GPS_TX_PIN direction comments (#11585)

GPS.cpp passes GPS_RX_PIN as the MCU's RX pin and GPS_TX_PIN as its TX
pin. Nine variants documented the opposite, which reads as if the pins
were swapped on working hardware (see #11584).

Comment-only change; no pin assignment is touched.
This commit is contained in:
Thomas Göttgens
2026-08-24 11:29:54 +02:00
committed by GitHub
parent 0271be9369
commit ee48094ea8
9 changed files with 20 additions and 20 deletions
@@ -45,8 +45,8 @@
#define PIN_GPS_STANDBY 11 // An output to wake GPS, low means allow sleep, high means force wake
#define GPS_TX_PIN 20 // This is for bits going TOWARDS the CPU
#define GPS_RX_PIN 19 // This is for bits going TOWARDS the GPS
#define GPS_TX_PIN 20 // This is for bits going TOWARDS the GPS
#define GPS_RX_PIN 19 // This is for bits going TOWARDS the CPU
#define GPS_THREAD_INTERVAL 50
+3 -3
View File
@@ -92,7 +92,7 @@
#define PERIPHERAL_WARMUP_MS 1000 // Make sure I2C QuickLink has stable power before continuing
#define PIN_GPS_STANDBY (40) // An output to wake GPS, low means allow sleep, high means force wake
#define PIN_GPS_PPS (41)
// Seems to be missing on this new board
#define GPS_TX_PIN (38) // This is for bits going TOWARDS the CPU
#define GPS_RX_PIN (39) // This is for bits going TOWARDS the GPS
// GNSS is on the V4 expansion kit (CM121, 9600 baud by default), not on the bare board
#define GPS_TX_PIN (38) // This is for bits going TOWARDS the GPS
#define GPS_RX_PIN (39) // This is for bits going TOWARDS the CPU
#define GPS_THREAD_INTERVAL 50
+3 -3
View File
@@ -64,7 +64,7 @@
#define GPS_EN_ACTIVE LOW
#define PERIPHERAL_WARMUP_MS 1000 // Make sure I2C QuickLink has stable power before continuing
#define PIN_GPS_PPS (41)
// Seems to be missing on this new board
#define GPS_TX_PIN (38) // This is for bits going TOWARDS the CPU
#define GPS_RX_PIN (39) // This is for bits going TOWARDS the GPS
// GNSS is on the V4 expansion kit (CM121, 9600 baud by default), not on the bare board
#define GPS_TX_PIN (38) // This is for bits going TOWARDS the GPS
#define GPS_RX_PIN (39) // This is for bits going TOWARDS the CPU
#define GPS_THREAD_INTERVAL 50