Add GPS capability to RAK2560 (RAKwireless WisMesh Hub) (#5797)

* Add GPS to RAK2560

* Add GPS to RAK2560
This commit is contained in:
Bernd Giesecke
2025-01-09 19:20:38 -06:00
committed by GitHub
co-authored by GitHub
parent 1d756ae574
commit 2e44de262e
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -35,7 +35,11 @@ template <typename T, std::size_t N> std::size_t array_count(const T (&)[N])
}
#if defined(NRF52840_XXAA) || defined(NRF52833_XXAA) || defined(ARCH_ESP32) || defined(ARCH_PORTDUINO)
#if defined(RAK2560)
HardwareSerial *GPS::_serial_gps = &Serial2;
#else
HardwareSerial *GPS::_serial_gps = &Serial1;
#endif
#elif defined(ARCH_RP2040)
SerialUART *GPS::_serial_gps = &Serial1;
#else