libregps

Fork of GPS7 by Gustavo Ramirez

Revision:
3:d0ead7bb78e8
Parent:
2:8d7c7165ffe2
diff -r 8d7c7165ffe2 -r d0ead7bb78e8 GPS.cpp
--- a/GPS.cpp	Mon Apr 27 02:08:24 2015 +0000
+++ b/GPS.cpp	Mon Nov 28 17:36:49 2016 +0000
@@ -73,7 +73,7 @@
 */
 void GPS::getline() {
     while(_gps.getc() != '$');    // wait for the start of a line
-    for(int i=0; i<256; i++) {
+    for(int i=0; i<512; i++) {
         msg[i] = _gps.getc();
         if(msg[i] == '\r') {
             msg[i] = 0;