mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-18 21:42:36 +00:00
Transition to clang-format 19
This commit is contained in:
@@ -871,9 +871,9 @@ bool Gnss_Sdr_Supl_Client::read_gal_almanac_from_gsa(const std::string& file_nam
|
||||
return false;
|
||||
}
|
||||
for (pugi::xml_node almanac : doc.child("signalData")
|
||||
.child("body")
|
||||
.child("Almanacs")
|
||||
.children("svAlmanac"))
|
||||
.child("body")
|
||||
.child("Almanacs")
|
||||
.children("svAlmanac"))
|
||||
{
|
||||
Galileo_Almanac gal_alm;
|
||||
try
|
||||
|
||||
@@ -206,7 +206,7 @@ void osnma_msg_receiver::msg_handler_osnma(const pmt::pmt_t& msg)
|
||||
}
|
||||
|
||||
process_osnma_message(nma_msg);
|
||||
} // OSNMA frame received
|
||||
} // OSNMA frame received
|
||||
else if (msg_type_hash_code == typeid(std::shared_ptr<std::tuple<uint32_t, std::string, uint32_t>>).hash_code()) // Navigation data bits for OSNMA received
|
||||
{
|
||||
const auto inav_data = wht::any_cast<std::shared_ptr<std::tuple<uint32_t, std::string, uint32_t>>>(pmt::any_ref(msg));
|
||||
|
||||
@@ -19,7 +19,7 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// clang-format off
|
||||
// clang-format off
|
||||
/* Environment version might be used to avoid running with the old library */
|
||||
#define ASN1C_ENVIRONMENT_VERSION 922 /* Compile-time version */
|
||||
int get_asn1c_environment_version(void); /* Run-time version */
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */
|
||||
#define sys_ntohl(l) \
|
||||
((((l) << 24) & 0xff000000) | (((l) << 16) & 0xff0000) | \
|
||||
(((l) << 8) & 0xff00) | ((l)&0xff))
|
||||
(((l) << 8) & 0xff00) | ((l) & 0xff))
|
||||
|
||||
#ifdef _MSC_VER /* MSVS.Net */
|
||||
#ifndef __cplusplus
|
||||
|
||||
@@ -22,7 +22,7 @@ extern "C"
|
||||
/*
|
||||
* Tag class is encoded together with tag value for optimization purposes.
|
||||
*/
|
||||
#define BER_TAG_CLASS(tag) ((tag)&0x3)
|
||||
#define BER_TAG_CLASS(tag) ((tag) & 0x3)
|
||||
#define BER_TAG_VALUE(tag) ((tag) >> 2)
|
||||
#define BER_TLV_CONSTRUCTED(tagptr) \
|
||||
(((*(const uint8_t *)tagptr) & 0x20) ? 1 : 0)
|
||||
|
||||
Reference in New Issue
Block a user