From ee13784dd2780c7275ce6cbd10c76cd83f4ce43f Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 27 May 2023 10:27:44 +0200 Subject: [PATCH] Avoid string literals (not available in C++11) --- .../gnuradio_blocks/galileo_telemetry_decoder_gs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc index fedef7456..60b83efc8 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc @@ -512,7 +512,7 @@ void galileo_telemetry_decoder_gs::decode_INAV_word(float *page_part_symbols, in { const std::shared_ptr tmp_obj = std::make_shared(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) {