mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix formatting, print HAS message decoding only when we already have the mask and can be read
This commit is contained in:
parent
98a850053c
commit
d4db8a82b7
@ -225,12 +225,12 @@ void galileo_e6_has_msg_receiver::process_HAS_page(const Galileo_HAS_page& has_p
|
||||
if (res == 0)
|
||||
{
|
||||
// Successful decoding, we have a valid HAS message stored at d_HAS_data
|
||||
std::cout << TEXT_MAGENTA << "New Galileo HAS message type " << std::to_string(has_page.message_id)
|
||||
<< " received and successfully decoded" << TEXT_RESET << '\n';
|
||||
if (d_nsat_in_mask_id[d_HAS_data.header.mask_id] != 0)
|
||||
{
|
||||
// if we have the mask for that message, it's ready to be sent to PVT
|
||||
d_new_message = true;
|
||||
std::cout << TEXT_MAGENTA << "New Galileo HAS message ID " << std::to_string(has_page.message_id)
|
||||
<< " received and successfully decoded" << TEXT_RESET << '\n';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user