mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 11:19:18 +00:00
Fix bugprone-reserved-identifier
This commit is contained in:
parent
3fc7a27cec
commit
188d34ba14
@ -37,7 +37,7 @@ void Galileo_Fnav_Message::split_page(const std::string& page_string)
|
|||||||
const std::string CRC_data = page_string.substr(214, 24);
|
const std::string CRC_data = page_string.substr(214, 24);
|
||||||
const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS> Word_for_CRC_bits(message_word);
|
const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS> Word_for_CRC_bits(message_word);
|
||||||
const std::bitset<24> checksum(CRC_data);
|
const std::bitset<24> checksum(CRC_data);
|
||||||
if (_CRC_test(Word_for_CRC_bits, checksum.to_ulong()) == true)
|
if (CRC_test(Word_for_CRC_bits, checksum.to_ulong()) == true)
|
||||||
{
|
{
|
||||||
flag_CRC_test = true;
|
flag_CRC_test = true;
|
||||||
// CRC correct: Decode word
|
// CRC correct: Decode word
|
||||||
@ -50,7 +50,7 @@ void Galileo_Fnav_Message::split_page(const std::string& page_string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Galileo_Fnav_Message::_CRC_test(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, uint32_t checksum) const
|
bool Galileo_Fnav_Message::CRC_test(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, uint32_t checksum) const
|
||||||
{
|
{
|
||||||
CRC_Galileo_FNAV_type CRC_Galileo;
|
CRC_Galileo_FNAV_type CRC_Galileo;
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _CRC_test(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, uint32_t checksum) const;
|
bool CRC_test(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, uint32_t checksum) const;
|
||||||
void decode_page(const std::string& data);
|
void decode_page(const std::string& data);
|
||||||
uint64_t read_navigation_unsigned(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, const std::vector<std::pair<int32_t, int32_t>>& parameter) const;
|
uint64_t read_navigation_unsigned(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, const std::vector<std::pair<int32_t, int32_t>>& parameter) const;
|
||||||
int64_t read_navigation_signed(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, const std::vector<std::pair<int32_t, int32_t>>& parameter) const;
|
int64_t read_navigation_signed(const std::bitset<GALILEO_FNAV_DATA_FRAME_BITS>& bits, const std::vector<std::pair<int32_t, int32_t>>& parameter) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user