Support overriding GPS serial pins on all architectures (#8486)

This commit is contained in:
Chloe Bethel
2025-11-24 01:40:27 +00:00
committed by GitHub
parent a4c92d9fd5
commit 5d7da6868e
2 changed files with 26 additions and 13 deletions

View File

@@ -194,6 +194,8 @@ class GPS : private concurrency::OSThread
/** If !NULL we will use this serial port to construct our GPS */
#if defined(ARCH_RP2040)
static SerialUART *_serial_gps;
#elif defined(ARCH_NRF52)
static Uart *_serial_gps;
#else
static HardwareSerial *_serial_gps;
#endif