Skip to content

Commit b28bbd6

Browse files
committed
v3.0.6
1 parent 9e5f77b commit b28bbd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SparkFun u-blox GNSS v3
2-
version=3.0.5
2+
version=3.0.6
33
author=SparkFun Electronics <[email protected]>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for I2C, Serial and SPI Communication with u-blox GNSS modules<br/><br/>

src/u-blox_GNSS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16840,7 +16840,7 @@ uint32_t DevUBLOXGNSS::getTIMTPAsEpoch(uint32_t &microsecond, uint16_t maxWait)
1684016840
subMS *= pow(2.0, -32.0); // Convert to milliseconds
1684116841
subMS *= 1000; // Convert to microseconds
1684216842

16843-
us += (int32_t)subMS; // Add subMS
16843+
us += (uint32_t)subMS; // Add subMS
1684416844

1684516845
microsecond = us;
1684616846
return tow;

0 commit comments

Comments
 (0)