1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-16 13:28:06 +00:00

Fix header in RINEX nav file for L1+L5

This commit is contained in:
Carles Fernandez
2018-11-01 20:10:41 +01:00
parent 99e4dcbe2b
commit 15df79837f

View File

@@ -1535,12 +1535,12 @@ int rtklib_pvt_cc::work(int noutput_items, gr_vector_const_void_star& input_item
if (d_ls_pvt->gps_cnav_utc_model.d_A0 != 0) if (d_ls_pvt->gps_cnav_utc_model.d_A0 != 0)
{ {
rp->update_obs_header(rp->obsFile, d_ls_pvt->gps_cnav_utc_model); rp->update_obs_header(rp->obsFile, d_ls_pvt->gps_cnav_utc_model);
rp->update_nav_header(rp->navMixFile, d_ls_pvt->gps_cnav_utc_model, d_ls_pvt->gps_cnav_iono); rp->update_nav_header(rp->navFile, d_ls_pvt->gps_cnav_utc_model, d_ls_pvt->gps_cnav_iono);
} }
else else
{ {
rp->update_obs_header(rp->obsFile, d_ls_pvt->gps_utc_model); rp->update_obs_header(rp->obsFile, d_ls_pvt->gps_utc_model);
rp->update_nav_header(rp->navMixFile, d_ls_pvt->gps_utc_model, d_ls_pvt->gps_iono); rp->update_nav_header(rp->navFile, d_ls_pvt->gps_utc_model, d_ls_pvt->gps_iono);
} }
b_rinex_header_updated = true; b_rinex_header_updated = true;
} }