diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index cf5511a33..814983d2f 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -1553,7 +1553,12 @@ std::unique_ptr GPS::createGps() _en_gpio = PIN_GPS_EN; #endif #ifdef ARCH_PORTDUINO - if (!portduino_config.has_gps) + if (portduino_config.has_gps) { + // These need to set as flags so later checks will pass on native and GPS will work. + // They are not used for any hardware access. + _rx_gpio = 1; + _tx_gpio = 1; + } else return nullptr; #endif if (!_rx_gpio || !_serial_gps) // Configured to have no GPS at all