From e7a91195e5d9c0597bc65f4444504a2c4f50c8a3 Mon Sep 17 00:00:00 2001 From: driverblock Date: Mon, 15 Sep 2014 14:27:53 -0400 Subject: [PATCH] Please don't eat the dollar sign read() was eating the leading dollar sign on the double-buffer swap. --- Adafruit_GPS.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Adafruit_GPS.cpp b/Adafruit_GPS.cpp index fd5503d..9318220 100755 --- a/Adafruit_GPS.cpp +++ b/Adafruit_GPS.cpp @@ -220,10 +220,10 @@ char Adafruit_GPS::read(void) { //Serial.print(c); - if (c == '$') { - currentline[lineidx] = 0; - lineidx = 0; - } +// if (c == '$') { //please don't eat the dollar sign - rdl 9/15/14 +// currentline[lineidx] = 0; +// lineidx = 0; +// } if (c == '\n') { currentline[lineidx] = 0;