Skip to content

Commit

Permalink
Fixed problem reported by dbrooke where small positive latitudes and …
Browse files Browse the repository at this point in the history
…longitudes (less than 1 degree) were reported as negative.
  • Loading branch information
mikalhart-intel committed Nov 26, 2013
1 parent 9e8fe7e commit 88c9db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/KitchenSink/KitchenSink.ino
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ void loop()
Serial.print(gps.location.rawLat().negative ? "-" : "+");
Serial.print(gps.location.rawLat().deg);
Serial.print("[+");
Serial.print(gps.location.rawLat().billionths());
Serial.print(gps.location.rawLat().billionths);
Serial.print(F(" billionths], Raw Long="));
Serial.print(gps.location.rawLng().negative ? "-" : "+");
Serial.print(gps.location.rawLng().deg);
Serial.print("[+");
Serial.print(gps.location.rawLng().billionths());
Serial.print(gps.location.rawLng().billionths);
Serial.print(F(" billionths], Lat="));
Serial.print(gps.location.lat(), 6);
Serial.print(F(" Long="));
Expand Down

0 comments on commit 88c9db5

Please sign in to comment.