Merge pull request #53 from philcrump/patch-1

ubxtool.cc: Hide SBAS Preamble stdout message behind debug flag to reduce log spam.
pull/64/head
bert hubert 2020-01-01 12:29:56 +01:00 committed by GitHub
commit ef8cc9538d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1287,7 +1287,7 @@ int main(int argc, char** argv)
if (doDEBUG) { cerr<<humanTimeNow()<<" SBAS "<<id.second<<" frame, numwords: "<<(int)payload[4]<<", version: "<<(int)payload[6]<<", totsize "<<payload.size()<<endl; }
auto sbas = getSBASFromSFRBXMsg(payload);
cerr<<"Preamble: "<<(int)sbas[0]<<", type "<<getbitu(&sbas[0], 8, 6)<<endl;
if (doDEBUG) { cerr<<"SBAS Preamble: "<<(int)sbas[0]<<", type "<<getbitu(&sbas[0], 8, 6)<<endl; }
}
else