Skip to content

Commit 05117eb

Browse files
committed
Remove NMEA output on on I2C.
Since logging is now wholly on UART, no longer needed. Should lighten I2C interrupts.
1 parent 0f8f188 commit 05117eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Firmware/RTK_Surveyor/System.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ bool configureUbloxModule()
216216
//Turn on RTCM over I2C port so that we can harvest RTCM over I2C and send out over WiFi
217217
//This is easier than parsing over UART because the library handles the frame detection
218218
getPortSettings(COM_PORT_I2C); //Load the settingPayload with this port's settings
219-
if (settingPayload[OUTPUT_SETTING] != (COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3) || settingPayload[INPUT_SETTING] != COM_TYPE_UBX)
219+
if (settingPayload[OUTPUT_SETTING] != (COM_TYPE_UBX | COM_TYPE_RTCM3) || settingPayload[INPUT_SETTING] != COM_TYPE_UBX)
220220
{
221-
response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3); //Set the I2C port to output UBX (config), NMEA (logging), and RTCM3 (casting)
221+
response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_RTCM3); //Set the I2C port to output UBX (config), NMEA (logging), and RTCM3 (casting)
222222
response &= i2cGNSS.setPortInput(COM_PORT_I2C, COM_TYPE_UBX); //Set the I2C port to input UBX only
223223
}
224224

0 commit comments

Comments
 (0)