local fork of tinygps for tugboat project

Dependents:   tugboat

Fork of TinyGPS by Michael Shimniok

Files at this revision

API Documentation at this revision

Comitter:
bclaus
Date:
Wed Jul 31 15:35:02 2013 +0000
Parent:
1:f522b8bdf987
Commit message:
init;

Changed in this revision

TinyGPS.h Show annotated file Show diff for this revision Revisions of this file
diff -r f522b8bdf987 -r a3dad2769ed7 TinyGPS.h
--- a/TinyGPS.h	Thu Apr 28 15:24:13 2011 +0000
+++ b/TinyGPS.h	Wed Jul 31 15:35:02 2013 +0000
@@ -154,6 +154,12 @@
 
     /** returns altitude as a float
     */
+    inline double f_lat()    { return _latitude / 100000.0; }
+    /** returns altitude as a float
+    */
+    inline double f_lon()    { return _longitude / 100000.0; }
+    /** returns altitude as a float
+    */
     inline double f_altitude()    { return altitude() / 100.0; }
     
     /** returns course as a float