mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-22 11:17:49 +10:00
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:
@@ -161,8 +161,8 @@ No longer populated on PCB
|
||||
#define GPS_EN_ACTIVE LOW
|
||||
#define PERIPHERAL_WARMUP_MS 1000 // Make sure I2C QuickLink has stable power before continuing
|
||||
#define PIN_GPS_PPS (32 + 11)
|
||||
#define GPS_TX_PIN (0 + 25) // This is for bits going TOWARDS the CPU
|
||||
#define GPS_RX_PIN (0 + 23) // This is for bits going TOWARDS the GPS
|
||||
#define GPS_TX_PIN (0 + 25) // This is for bits going TOWARDS the GPS
|
||||
#define GPS_RX_PIN (0 + 23) // This is for bits going TOWARDS the CPU
|
||||
|
||||
#define GPS_THREAD_INTERVAL 50
|
||||
|
||||
|
||||
Reference in New Issue
Block a user