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.
Dependents: GPS_HelloWorld GPS_Buzzer_Alert_Helloworld Twitter_GPS_Web_Client_WIZwiki-W7500
Fork of GPS by
Revision 2:e2b8d86abee3, committed 2015-07-27
- Comitter:
- eunkyoungkim
- Date:
- Mon Jul 27 04:55:38 2015 +0000
- Parent:
- 1:1d60e6a0ffd9
- Commit message:
- wrong calculation value of longitude
Changed in this revision
| GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/GPS.cpp Sat Nov 02 16:17:58 2013 +0000
+++ b/GPS.cpp Mon Jul 27 04:55:38 2015 +0000
@@ -58,7 +58,7 @@
float degrees = trunc(latitude / 100.0f);
float minutes = latitude - (degrees * 100.0f);
latitude = degrees + minutes / 60.0f;
- degrees = trunc(longitude / 100.0f * 0.01f);
+ degrees = trunc(longitude / 100.0f);// * 0.01f);
minutes = longitude - (degrees * 100.0f);
longitude = degrees + minutes / 60.0f;
return 1;
