RAK815 GPS WIP

This commit is contained in:
geeksville
2020-07-10 14:54:32 -07:00
parent e12c057c31
commit efd8b70089
2 changed files with 13 additions and 2 deletions

View File

@@ -53,8 +53,15 @@ bool UBloxGPS::setup()
assert(ok);
return false;
} else {
ok = ublox.setUART1Output(COM_TYPE_UBX, 500); // Use native API
assert(ok);
if (_serial_gps) {
ok = ublox.setUART1Output(COM_TYPE_UBX, 500); // Use native API
assert(ok);
}
if (i2cAddress) {
ublox.setI2COutput(COM_TYPE_UBX, 500);
assert(ok);
}
ok = ublox.setNavigationFrequency(1, 500); // Produce 4x/sec to keep the amount of time we stall in getPVT low
assert(ok);
// ok = ublox.setAutoPVT(false); // Not implemented on NEO-6M