diff --git a/src/core/system_parameters/galileo_has_data.cc b/src/core/system_parameters/galileo_has_data.cc index 35be32fa2..0e7c61d74 100644 --- a/src/core/system_parameters/galileo_has_data.cc +++ b/src/core/system_parameters/galileo_has_data.cc @@ -79,11 +79,11 @@ std::vector Galileo_HAS_data::get_PRNs_in_submask(uint8_t nsys) const { if ((aux & sat_submask) >= 1) { - sat_submask_str = "1" + sat_submask_str; + sat_submask_str.insert(0, "1"); } else { - sat_submask_str = "0" + sat_submask_str; + sat_submask_str.insert(0, "0"); } aux <<= 1; }