Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TinyGPS by
Revision 2:a3dad2769ed7, committed 2013-07-31
- 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 |
--- 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
