thread bug

Fork of GroveGPS by Michael Ray

Files at this revision

API Documentation at this revision

Comitter:
JimCarver
Date:
Thu May 31 16:28:32 2018 +0000
Parent:
1:7ad98913098c
Commit message:
bug

Changed in this revision

GroveGPS.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GroveGPS.cpp	Thu May 31 16:24:30 2018 +0000
+++ b/GroveGPS.cpp	Thu May 31 16:28:32 2018 +0000
@@ -33,9 +33,7 @@
 
     static void parseLine() {
         while(1) {
-            printf("waiting\r\n");
             parse.wait();
-            printf("Released\r\n");
             if (gps._last_line.find("GPGGA") != std::string::npos) {
                 gps.parseGGA();
             }
@@ -53,7 +51,6 @@
     void readCharacter(char newCharacter) {
         if (newCharacter == '\n') {
             parse.release();
-            printf("Release parse\r\n");
         } else {
             gps._last_line += newCharacter;
         }