Skip to content

Commit

Permalink
Merge pull request #1557 from mirkix/gpsfix
Browse files Browse the repository at this point in the history
Add 3D+DGPS and 3D+RTK gps fix status
  • Loading branch information
m4gr3d committed Aug 23, 2015
2 parents c4cf4e2 + e0929dc commit 2c54f59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ private void updateGpsTelem() {

switch(fixStatus){
case Gps.LOCK_3D:
case Gps.LOCK_3D_DGPS:
case Gps.LOCK_3D_RTK:
gpsIcon = R.drawable.ic_gps_fixed_black_24dp;
break;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,12 @@ private void speakGpsMode(int fix) {
case 3:
speak("GPS 3D Lock");
break;
case 4:
speak("GPS 3D+DGPS Lock");
break;
case 5:
speak("GPS 3D+RTK Lock");
break;
default:
speak("Lost GPS Lock");
break;
Expand Down

0 comments on commit 2c54f59

Please sign in to comment.