more clang
This commit is contained in:
parent
c8d4e037e7
commit
b982d8948e
|
|
@ -205,10 +205,8 @@ boolean Adafruit_GPS::parse(char *nmea) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NMEA_EXTENSIONS //********************************************Sentences
|
#ifdef NMEA_EXTENSIONS // Sentences not required for basic GPS functionality
|
||||||
//not required for basic GPS functionality
|
else if (!strcmp(thisSentence,"TXT")) { //*******************************TXT
|
||||||
else if (!strcmp(thisSentence,
|
|
||||||
"TXT")) { //********************************************TXT
|
|
||||||
if (!isEmpty(p))
|
if (!isEmpty(p))
|
||||||
txtTot = atoi(p);
|
txtTot = atoi(p);
|
||||||
p = strchr(p, ',') + 1;
|
p = strchr(p, ',') + 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue