make sure 'page' for the gps message parser gets set

pull/57/head
bert hubert 2019-12-20 23:05:44 +01:00
parent 029fddaab8
commit 0877600356
1 changed files with 1 additions and 0 deletions

1
gps.hh
View File

@ -298,6 +298,7 @@ int parseGPSMessage(std::basic_string_view<uint8_t> cond, T& out, uint8_t* pagep
// cerr<<": a0: "<<out.a0<<", a1: "<<out.a1<<", t0t: "<< out.t0t * (1<<12) <<", wn0t: "<< out.wn0t<<", rough offset: "<<ldexp(out.a0, -30)<<endl;
// cerr<<"deltaTLS: "<< (int)out.dtLS<<", post "<< (int)out.dtLSF<<endl;
return frame; // otherwise pageptr gets overwritten below
}
//else cerr<<endl;
// page 18 contains UTC -> 56