File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
examples/NEO-F10N/Example1_RAWX Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments