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

Avoid string literals (not available in C++11)

This commit is contained in:
Carles Fernandez 2023-05-27 10:27:44 +02:00
parent 78847e33a3
commit ee13784dd2
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -512,7 +512,7 @@ void galileo_telemetry_decoder_gs::decode_INAV_word(float *page_part_symbols, in
{
const std::shared_ptr<OSNMA_msg> tmp_obj = std::make_shared<OSNMA_msg>(d_inav_nav.get_osnma_msg());
this->message_port_pub(pmt::mp("OSNMA_from_TLM"), pmt::make_any(tmp_obj));
uint8_t nma_status = (tmp_obj->hkroot[0] & 0b11000000) >> 6;
uint8_t nma_status = (tmp_obj->hkroot[0] & 0xC0) >> 6;
std::string nma_status_string;
if (nma_status == 0)
{