You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Firmware/RTK_Surveyor/Base.ino
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ bool configureUbloxModuleBase()
41
41
getPortSettings(COM_PORT_I2C); //Load the settingPayload with this port's settings
42
42
if (settingPayload[OUTPUT_SETTING] != (COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3))
43
43
response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3); //Set the I2C port to output UBX (config), and RTCM3 (casting)
44
-
//response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_RTCM3); //Not a valid state. Goes to UBX+NMEA+RTCM3 -
44
+
//response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_RTCM3); //Not a valid state. Goes to UBX+NMEA+RTCM3 -
45
45
46
46
//In base mode the Surveyor should output RTCM over UART2 and I2C ports:
47
47
//(Primary) UART2 in case the Surveyor is connected via radio to rover
@@ -99,10 +99,10 @@ bool beginSurveyIn()
99
99
//Wait until active becomes true
100
100
long maxTime = 5000;
101
101
long startTime = millis();
102
-
while(i2cGNSS.getSurveyInActive(100) == false)
102
+
while(i2cGNSS.getSurveyInActive(100) == false)
103
103
{
104
104
delay(100);
105
-
if(millis() - startTime > maxTime) return(false); //Reset of survey failed
105
+
if(millis() - startTime > maxTime) return(false); //Reset of survey failed
0 commit comments