Skip to content

Commit d38f0ac

Browse files
authored
Update SparkFun_u-blox_GNSS_Arduino_Library.h
Allow for survey-in observation times greater that 65535 (16-bit) seconds. By changing to uint32_t will allow library to have observation time of 86400 seconds (24-hour) survey-in time.
1 parent b758699 commit d38f0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,8 @@ class SFE_UBLOX_GNSS
835835
// Functions used for RTK and base station setup
836836
// It is probably safe to assume that users of the RTK will be using I2C / Qwiic. So let's leave maxWait set to 250ms.
837837
bool getSurveyMode(uint16_t maxWait = 250); // Get the current TimeMode3 settings
838-
bool setSurveyMode(uint8_t mode, uint16_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Control survey in mode
839-
bool enableSurveyMode(uint16_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Begin Survey-In for NEO-M8P
838+
bool setSurveyMode(uint8_t mode, uint32_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Control survey in mode
839+
bool enableSurveyMode(uint32_t observationTime, float requiredAccuracy, uint16_t maxWait = 250); // Begin Survey-In for NEO-M8P
840840
bool disableSurveyMode(uint16_t maxWait = 250); // Stop Survey-In mode
841841
// Given coordinates, put receiver into static position. Set latlong to true to pass in lat/long values instead of ecef.
842842
// For ECEF the units are: cm, 0.1mm, cm, 0.1mm, cm, 0.1mm

0 commit comments

Comments
 (0)