Skip to content

Commit a33a571

Browse files
committed
Update Example1_RAWX.ino
1 parent d3e898c commit a33a571

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/NEO-F10N/Example1_RAWX/Example1_RAWX.ino

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,17 @@ void setup()
241241
while (1);
242242
}
243243

244-
myGNSS.setGPSL5HealthOverride(true); // Mark L5 signals as healthy - store in RAM and BBR
245-
246-
myGNSS.setLNAMode(SFE_UBLOX_LNA_MODE_NORMAL); // Set the LNA gain to normal (full). Other options: LOWGAIN, BYPASS
247-
248244
myGNSS.setI2COutput(COM_TYPE_UBX); //Set the I2C port to output UBX only (turn off NMEA noise)
249245
myGNSS.saveConfigSelective(VAL_CFG_SUBSEC_IOPORT); //Save (only) the communications port settings to flash and BBR
250246

251247
myGNSS.setMeasurementRate(5000); //Produce one solution every five seconds (RAWX produces a _lot_ of data!)
252248

249+
myGNSS.setGPSL5HealthOverride(true); // Mark L5 signals as healthy - store in RAM and BBR
250+
251+
myGNSS.setLNAMode(SFE_UBLOX_LNA_MODE_NORMAL); // Set the LNA gain to normal (full). Other options: LOWGAIN, BYPASS
252+
253+
myGNSS.softwareResetGNSSOnly(); // Restart the GNSS to apply the L5 health override
254+
253255
myGNSS.setAutoRXMRAWXcallbackPtr(&newRAWX); // Enable automatic RXM RAWX messages with callback to newRAWX
254256
}
255257

0 commit comments

Comments
 (0)