ubxtool.cc: Hide SBAS Preamble stdout message behind debug flag to reduce log spam.

pull/53/head
Phil Crump 2019-12-10 21:37:33 +00:00 committed by GitHub
parent 941f5f4ef5
commit d28d113e11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1199,7 +1199,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