#131 More to fix clang formatting
This commit is contained in:
parent
9714164079
commit
ab1e7d315a
|
|
@ -253,12 +253,10 @@ private:
|
|||
const char *sources[7] = {"II", "WI", "GP", "PG",
|
||||
"GN", "P", "ZZZ"}; ///< valid source ids
|
||||
#ifdef NMEA_EXTENSIONS
|
||||
const char
|
||||
*sentences_parsed[21] =
|
||||
{
|
||||
"GGA", "GLL", "GSA", "RMC", "DBT", "HDM", "HDT",
|
||||
"MDA", "MTW", "MWV", "RMB", "TOP", "TXT", "VHW",
|
||||
"VLW", "VPW", "VWR", "WCV", "XTE", "ZZZ"}; ///< parseable sentence ids
|
||||
const char *sentences_parsed[21] = {"GGA", "GLL", "GSA", "RMC", "DBT", "HDM",
|
||||
"HDT", "MDA", "MTW", "MWV", "RMB", "TOP",
|
||||
"TXT", "VHW", "VLW", "VPW", "VWR", "WCV",
|
||||
"XTE", "ZZZ"}; ///< parseable sentence ids
|
||||
const char *sentences_known[15] = {
|
||||
"APB", "DPT", "GSV", "HDG", "MWD", "ROT",
|
||||
"RPM", "RSA", "VDR", "VTG", "ZDA", "ZZZ"}; ///< known, but not parseable
|
||||
|
|
|
|||
|
|
@ -174,16 +174,15 @@ bool Adafruit_GPS::parse(char *nmea) {
|
|||
VDOP = atof(p); // last before checksum
|
||||
|
||||
} else if (!strcmp(thisSentence, "TOP")) { //*****************************TOP
|
||||
// See: https://learn.adafruit.com/adafruit-ultimate-gps-featherwing/antenna-options
|
||||
// See:
|
||||
// https://learn.adafruit.com/adafruit-ultimate-gps-featherwing/antenna-options
|
||||
// There is an output sentence that will tell you the status of the
|
||||
// antenna. $PGTOP,11,x where x is the status number. If x is 3 that means
|
||||
// it is using the external antenna. If x is 2 it's using the internal
|
||||
// antenna and if x is 1 there was an antenna short or problem.
|
||||
p = strchr(p, ',') + 1;
|
||||
parseAntenna(p);
|
||||
}
|
||||
|
||||
|
||||
#ifdef NMEA_EXTENSIONS // Sentences not required for basic GPS functionality
|
||||
else if (!strcmp(thisSentence, "APB")) { //*******************************APB
|
||||
// from Actisense NGW-1 from SH CP150C
|
||||
|
|
|
|||
Loading…
Reference in New Issue