GPS driver
Dependents: GEO_CONTROL_REPO_F411RE GPS_GSM
Fork of GPS by
Revision 7:120983998da2, committed 2016-03-16
- Comitter:
- wschon
- Date:
- Wed Mar 16 19:18:00 2016 +0000
- Parent:
- 6:0a167594f765
- Commit message:
- made gps variables viewable to caller
Changed in this revision
| GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
| GPS.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/GPS.cpp Wed Mar 16 19:13:44 2016 +0000
+++ b/GPS.cpp Wed Mar 16 19:18:00 2016 +0000
@@ -37,7 +37,7 @@
int GPS::sample() {
//float time, hori_dilute, alt,geoid;
- char gu, hu;
+
int lock;
while(1) {
--- a/GPS.h Wed Mar 16 19:13:44 2016 +0000
+++ b/GPS.h Wed Mar 16 19:18:00 2016 +0000
@@ -50,7 +50,8 @@
float alt;
float geoid, time;
char ns, ew;
-
+ char gu, hu;
+
private:
float trunc(float v);
void getline();
