prevent SP3 parser from mis-identifying unknown constellations
parent
572e8ef006
commit
0f7cb5143d
6
sp3.cc
6
sp3.cc
|
@ -71,10 +71,12 @@ bool SP3Reader::get(SP3Entry& entry)
|
||||||
if(!num) {
|
if(!num) {
|
||||||
if(token[1]=='G')
|
if(token[1]=='G')
|
||||||
entry.gnss = 0;
|
entry.gnss = 0;
|
||||||
if(token[1]=='E')
|
else if(token[1]=='E')
|
||||||
entry.gnss = 2;
|
entry.gnss = 2;
|
||||||
if(token[1]=='C')
|
else if(token[1]=='C')
|
||||||
entry.gnss = 3;
|
entry.gnss = 3;
|
||||||
|
else
|
||||||
|
continue;
|
||||||
entry.sv = atoi(token.c_str()+2);
|
entry.sv = atoi(token.c_str()+2);
|
||||||
}
|
}
|
||||||
double val = atof(token.c_str());
|
double val = atof(token.c_str());
|
||||||
|
|
Loading…
Reference in New Issue