Fix Rinex printer for GPS L1 + Gal E6

This commit is contained in:
Carles Fernandez 2022-09-14 21:15:12 +02:00
parent d7641e2b08
commit 815467ae72
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 2 additions and 2 deletions

View File

@ -1373,7 +1373,7 @@ void Rinex_Printer::log_rinex_nav_gps_nav(int type_of_rx, const std::map<int32_t
log_rinex_nav(navMixFile, new_eph, new_gal_eph);
break;
case 107: // GPS L1 C/A + Galileo E6B
if (navMixFile.is_open())
if (navMixFile.tellp() != 0)
{
log_rinex_nav(navMixFile, new_eph, new_gal_eph);
}
@ -1440,7 +1440,7 @@ void Rinex_Printer::log_rinex_nav_gal_nav(int type_of_rx, const std::map<int32_t
log_rinex_nav(navMixFile, new_eph, new_gal_eph);
break;
case 107: // GPS L1 C/A + Galileo E6B
if (navMixFile.is_open())
if (navMixFile.tellp() != 0)
{
log_rinex_nav(navMixFile, new_eph, new_gal_eph);
}