thread bug
Fork of GroveGPS by
Diff: GroveGPS.cpp
- Revision:
- 2:e3f570014ab4
- Parent:
- 1:7ad98913098c
--- 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; }