1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

Remove extraneous parentheses warnings

This commit is contained in:
Carles Fernandez 2017-09-10 11:04:53 +02:00
parent 047d9af6a3
commit e60c93da72
2 changed files with 3 additions and 3 deletions

View File

@ -920,11 +920,11 @@ int rtklib_pvt_cc::work (int noutput_items, gr_vector_const_void_star &input_ite
{
rp->log_rinex_nav(rp->navGloFile, d_ls_pvt->glonass_gnav_ephemeris_map);
}
if((type_of_rx == 26)) // GPS L1 C/A + GLONASS L1 C/A
if(type_of_rx == 26) // GPS L1 C/A + GLONASS L1 C/A
{
rp->log_rinex_nav(rp->navMixFile, d_ls_pvt->gps_ephemeris_map, d_ls_pvt->glonass_gnav_ephemeris_map);
}
if((type_of_rx == 27)) // Galileo E1B + GLONASS L1 C/A
if(type_of_rx == 27) // Galileo E1B + GLONASS L1 C/A
{
rp->log_rinex_nav(rp->navMixFile, d_ls_pvt->galileo_ephemeris_map, d_ls_pvt->glonass_gnav_ephemeris_map);
}

View File

@ -709,7 +709,7 @@ bool Glonass_Gnav_Navigation_Message::have_new_ephemeris() //Check if we have a
{
if ((flag_ephemeris_str_1 == true) and (flag_ephemeris_str_2 == true) and (flag_ephemeris_str_3 == true) and (flag_ephemeris_str_4 == true))
{
if ((gnav_ephemeris.d_P_4 == 1) )
if (gnav_ephemeris.d_P_4 == 1)
{
flag_ephemeris_str_1 = false;// clear the flag
flag_ephemeris_str_2 = false;// clear the flag