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.
Revision 7:a7d233fc6578, committed 2019-09-02
- Comitter:
- Nerosho
- Date:
- Mon Sep 02 14:16:30 2019 +0000
- Parent:
- 5:c9ab983a9b3b
- Commit message:
- 0902;
Changed in this revision
| GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/GPS.cpp Mon Aug 26 11:39:19 2019 +0000
+++ b/GPS.cpp Mon Sep 02 14:16:30 2019 +0000
@@ -21,11 +21,12 @@
//Serial gps(_tx,_rx);
//gps.baud(9600);
- if(_gps.readable()) {
+ //if(_gps.readable()) {
getGPS[0]='\0';
GPSread=0;
while(1) {
+
recvGPS=_gps.getc();
char s[2];
@@ -40,17 +41,19 @@
GPSread=1;
return 1;
+
}
+ return 0;
- break;
+ //break;
}
}
- }
+ //}//readableの終わり
// wait(1);
- return 0;
+ //return 0;
}
\ No newline at end of file