Skip to content

Commit

Permalink
Update #253 - Make sure $GNGGA strings are parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeau committed Jan 29, 2019
1 parent ff132b1 commit eb1e197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public void onNmeaMessage(String message, long timestamp) {
// Do nothing if the Fragment isn't added
return;
}
if (message.startsWith("$GPGGA") || message.startsWith("$GNGNS")) {
if (message.startsWith("$GPGGA") || message.startsWith("$GNGNS") || message.startsWith("$GNGGA")) {
Double altitudeMsl = GpsTestUtil.getAltitudeMeanSeaLevel(message);
if (altitudeMsl != null && mNavigating) {
if (mPrefDistanceUnits.equalsIgnoreCase(METERS)) {
Expand Down

0 comments on commit eb1e197

Please sign in to comment.