Skip to content

Commit 9e8fe7e

Browse files
Fixed problem reported by dbrooke where small positive latitudes and longitudes (less than 1 degree) were reported as negative.
1 parent d05250f commit 9e8fe7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/KitchenSink/KitchenSink.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ void loop()
4343
Serial.print(gps.location.rawLat().negative ? "-" : "+");
4444
Serial.print(gps.location.rawLat().deg);
4545
Serial.print("[+");
46-
Serial.print(gps.location.rawLat.billionths());
46+
Serial.print(gps.location.rawLat().billionths());
4747
Serial.print(F(" billionths], Raw Long="));
4848
Serial.print(gps.location.rawLng().negative ? "-" : "+");
4949
Serial.print(gps.location.rawLng().deg);
5050
Serial.print("[+");
51-
Serial.print(gps.location.rawLng.billionths());
51+
Serial.print(gps.location.rawLng().billionths());
5252
Serial.print(F(" billionths], Lat="));
5353
Serial.print(gps.location.lat(), 6);
5454
Serial.print(F(" Long="));

0 commit comments

Comments
 (0)