From 9023f19794ff4d6c03bdcfd4a6c73614a4098977 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 26 Jan 2020 22:23:22 +0100 Subject: [PATCH] Use C++ comments for final #endif in headers --- src/algorithms/PVT/libs/monitor_pvt.h | 2 +- src/algorithms/PVT/libs/monitor_pvt_udp_sink.h | 2 +- .../acquisition/adapters/beidou_b1i_pcps_acquisition.h | 2 +- .../acquisition/adapters/beidou_b3i_pcps_acquisition.h | 2 +- .../adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h | 2 +- .../adapters/galileo_e1_pcps_ambiguous_acquisition.h | 2 +- .../adapters/galileo_e1_pcps_ambiguous_acquisition_fpga.h | 2 +- .../galileo_e1_pcps_cccwsr_ambiguous_acquisition.h | 2 +- .../galileo_e1_pcps_quicksync_ambiguous_acquisition.h | 2 +- .../adapters/galileo_e1_pcps_tong_ambiguous_acquisition.h | 2 +- .../adapters/galileo_e5a_noncoherent_iq_acquisition_caf.h | 7 ++++--- .../acquisition/adapters/galileo_e5a_pcps_acquisition.h | 6 +++--- .../adapters/galileo_e5a_pcps_acquisition_fpga.h | 2 +- .../acquisition/adapters/glonass_l1_ca_pcps_acquisition.h | 2 +- .../acquisition/adapters/glonass_l2_ca_pcps_acquisition.h | 2 +- .../acquisition/adapters/gps_l1_ca_pcps_acquisition.h | 2 +- .../adapters/gps_l1_ca_pcps_acquisition_fine_doppler.h | 2 +- .../acquisition/adapters/gps_l1_ca_pcps_acquisition_fpga.h | 2 +- .../adapters/gps_l1_ca_pcps_assisted_acquisition.h | 2 +- .../adapters/gps_l1_ca_pcps_opencl_acquisition.h | 2 +- .../adapters/gps_l1_ca_pcps_quicksync_acquisition.h | 2 +- .../acquisition/adapters/gps_l1_ca_pcps_tong_acquisition.h | 2 +- .../acquisition/adapters/gps_l2_m_pcps_acquisition.h | 2 +- .../acquisition/adapters/gps_l2_m_pcps_acquisition_fpga.h | 2 +- .../acquisition/adapters/gps_l5i_pcps_acquisition.h | 2 +- .../acquisition/adapters/gps_l5i_pcps_acquisition_fpga.h | 2 +- .../galileo_e5a_noncoherent_iq_acquisition_caf_cc.h | 6 +++--- .../gnuradio_blocks/galileo_pcps_8ms_acquisition_cc.h | 2 +- .../acquisition/gnuradio_blocks/pcps_acquisition.h | 2 +- .../acquisition/gnuradio_blocks/pcps_acquisition_fpga.h | 2 +- .../gnuradio_blocks/pcps_assisted_acquisition_cc.h | 2 +- .../gnuradio_blocks/pcps_cccwsr_acquisition_cc.h | 2 +- .../gnuradio_blocks/pcps_quicksync_acquisition_cc.h | 2 +- .../acquisition/gnuradio_blocks/pcps_tong_acquisition_cc.h | 2 +- src/algorithms/acquisition/libs/fpga_acquisition.h | 2 +- src/algorithms/input_filter/adapters/beamformer_filter.h | 2 +- src/algorithms/libs/beidou_b1i_signal_processing.h | 2 +- src/algorithms/libs/beidou_b3i_signal_processing.h | 2 +- src/algorithms/libs/galileo_e1_signal_processing.h | 2 +- src/algorithms/libs/galileo_e5_signal_processing.h | 2 +- src/algorithms/libs/glonass_l1_signal_processing.h | 2 +- src/algorithms/libs/glonass_l2_signal_processing.h | 2 +- src/algorithms/libs/gnss_circular_deque.h | 2 +- src/algorithms/libs/gnss_signal_processing.h | 2 +- src/algorithms/libs/gps_l2c_signal.h | 2 +- src/algorithms/libs/gps_l5_signal.h | 2 +- src/algorithms/libs/gps_sdr_signal_processing.h | 2 +- src/algorithms/libs/pass_through.h | 2 +- src/algorithms/libs/rtklib/rtklib_conversions.h | 2 +- src/algorithms/libs/rtklib/rtklib_ephemeris.h | 2 +- src/algorithms/libs/rtklib/rtklib_ionex.h | 2 +- src/algorithms/libs/rtklib/rtklib_pntpos.h | 2 +- src/algorithms/libs/rtklib/rtklib_rtkcmn.h | 2 +- src/algorithms/libs/rtklib/rtklib_sbas.h | 2 +- .../volk_gnsssdr/lib/volk_gnsssdr_malloc.c | 2 +- .../resampler/adapters/direct_resampler_conditioner.h | 2 +- .../resampler/adapters/mmse_resampler_conditioner.h | 2 +- .../signal_generator/adapters/signal_generator.h | 3 ++- .../signal_generator/gnuradio_blocks/signal_generator_c.h | 2 +- .../adapters/galileo_e5a_telemetry_decoder.h | 2 +- src/algorithms/telemetry_decoder/libs/viterbi_decoder.h | 2 +- .../tracking/adapters/galileo_e5a_dll_pll_tracking.h | 2 +- .../tracking/adapters/galileo_e5a_dll_pll_tracking_fpga.h | 2 +- src/algorithms/tracking/libs/cpu_multicorrelator.h | 2 +- src/algorithms/tracking/libs/cpu_multicorrelator_16sc.h | 2 +- .../tracking/libs/cpu_multicorrelator_real_codes.h | 2 +- src/algorithms/tracking/libs/cuda_multicorrelator.h | 2 +- src/algorithms/tracking/libs/fpga_multicorrelator.h | 2 +- src/core/interfaces/acquisition_interface.h | 2 +- src/core/interfaces/channel_interface.h | 2 +- src/core/interfaces/configuration_interface.h | 2 +- src/core/interfaces/gnss_block_interface.h | 2 +- src/core/interfaces/observables_interface.h | 2 +- src/core/interfaces/pvt_interface.h | 2 +- src/core/interfaces/telemetry_decoder_interface.h | 2 +- src/core/interfaces/tracking_interface.h | 2 +- src/core/monitor/gnss_synchro_udp_sink.h | 2 +- src/core/system_parameters/Beidou_B1I.h | 2 +- src/core/system_parameters/Beidou_B3I.h | 2 +- src/core/system_parameters/Beidou_DNAV.h | 2 +- src/core/system_parameters/GLONASS_L1_L2_CA.h | 2 +- src/core/system_parameters/GPS_CNAV.h | 2 +- src/core/system_parameters/GPS_L1_CA.h | 2 +- src/core/system_parameters/GPS_L2C.h | 2 +- src/core/system_parameters/GPS_L5.h | 2 +- src/core/system_parameters/Galileo_E1.h | 2 +- src/core/system_parameters/Galileo_E5a.h | 2 +- src/core/system_parameters/MATH_CONSTANTS.h | 2 +- src/core/system_parameters/display.h | 2 +- src/core/system_parameters/galileo_fnav_message.h | 2 +- src/core/system_parameters/galileo_navigation_message.h | 2 +- src/core/system_parameters/sbas_ephemeris.h | 2 +- 92 files changed, 100 insertions(+), 98 deletions(-) diff --git a/src/algorithms/PVT/libs/monitor_pvt.h b/src/algorithms/PVT/libs/monitor_pvt.h index 09b6b9370..46245b170 100644 --- a/src/algorithms/PVT/libs/monitor_pvt.h +++ b/src/algorithms/PVT/libs/monitor_pvt.h @@ -142,4 +142,4 @@ public: } }; -#endif /* GNSS_SDR_MONITOR_PVT_H_ */ +#endif // GNSS_SDR_MONITOR_PVT_H_ diff --git a/src/algorithms/PVT/libs/monitor_pvt_udp_sink.h b/src/algorithms/PVT/libs/monitor_pvt_udp_sink.h index 14639c43a..b47a18800 100644 --- a/src/algorithms/PVT/libs/monitor_pvt_udp_sink.h +++ b/src/algorithms/PVT/libs/monitor_pvt_udp_sink.h @@ -61,4 +61,4 @@ private: }; -#endif /* GNSS_SDR_MONITOR_PVT_UDP_SINK_H_ */ +#endif // GNSS_SDR_MONITOR_PVT_UDP_SINK_H_ diff --git a/src/algorithms/acquisition/adapters/beidou_b1i_pcps_acquisition.h b/src/algorithms/acquisition/adapters/beidou_b1i_pcps_acquisition.h index 056077a29..cf0844ee2 100644 --- a/src/algorithms/acquisition/adapters/beidou_b1i_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/beidou_b1i_pcps_acquisition.h @@ -185,4 +185,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_BEIDOU_B1I_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_BEIDOU_B1I_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.h b/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.h index 920d7e0b2..fc71a25ca 100644 --- a/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/beidou_b3i_pcps_acquisition.h @@ -184,4 +184,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_BEIDOU_B3I_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_BEIDOU_B3I_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h index c798a711a..9e19e83bf 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_8ms_ambiguous_acquisition.h @@ -175,4 +175,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_8MS_AMBIGUOUS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_8MS_AMBIGUOUS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition.h index 0d0623f51..42d5ccb28 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition.h @@ -190,4 +190,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition_fpga.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition_fpga.h index 97bea5acc..a219e0d55 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition_fpga.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_ambiguous_acquisition_fpga.h @@ -212,4 +212,4 @@ private: std::vector d_all_fft_codes_; // memory that contains all the code ffts }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_FPGA_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_AMBIGUOUS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_cccwsr_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_cccwsr_ambiguous_acquisition.h index 4b978d38d..51e831789 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_cccwsr_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_cccwsr_ambiguous_acquisition.h @@ -175,4 +175,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_CCCWSR_AMBIGUOUS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_CCCWSR_AMBIGUOUS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_quicksync_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_quicksync_ambiguous_acquisition.h index c523e79d6..80622c27c 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_quicksync_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_quicksync_ambiguous_acquisition.h @@ -179,4 +179,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_QUICKSYNC_AMBIGUOUS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_QUICKSYNC_AMBIGUOUS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e1_pcps_tong_ambiguous_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e1_pcps_tong_ambiguous_acquisition.h index 8f015cb75..a0915fb72 100644 --- a/src/algorithms/acquisition/adapters/galileo_e1_pcps_tong_ambiguous_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e1_pcps_tong_ambiguous_acquisition.h @@ -178,4 +178,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GALILEO_E1_PCPS_TONG_AMBIGUOUS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E1_PCPS_TONG_AMBIGUOUS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e5a_noncoherent_iq_acquisition_caf.h b/src/algorithms/acquisition/adapters/galileo_e5a_noncoherent_iq_acquisition_caf.h index 48b766408..6c9ec670e 100644 --- a/src/algorithms/acquisition/adapters/galileo_e5a_noncoherent_iq_acquisition_caf.h +++ b/src/algorithms/acquisition/adapters/galileo_e5a_noncoherent_iq_acquisition_caf.h @@ -35,8 +35,8 @@ * ------------------------------------------------------------------------- */ -#ifndef GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ -#define GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ +#ifndef GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ +#define GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ #include "channel_fsm.h" #include "galileo_e5a_noncoherent_iq_acquisition_caf_cc.h" @@ -183,4 +183,5 @@ private: unsigned int out_streams_; float calculate_threshold(float pfa); }; -#endif /* GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ */ + +#endif // GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition.h b/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition.h index e32812a0c..417d2220f 100644 --- a/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition.h @@ -28,8 +28,8 @@ * ------------------------------------------------------------------------- */ -#ifndef GALILEO_E5A_PCPS_ACQUISITION_H_ -#define GALILEO_E5A_PCPS_ACQUISITION_H_ +#ifndef GNSS_SDR_GALILEO_E5A_PCPS_ACQUISITION_H_ +#define GNSS_SDR_GALILEO_E5A_PCPS_ACQUISITION_H_ #include "channel_fsm.h" @@ -179,4 +179,4 @@ private: Gnss_Synchro* gnss_synchro_; }; -#endif /* GALILEO_E5A_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition_fpga.h b/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition_fpga.h index 5326df685..9f1d8de1d 100644 --- a/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition_fpga.h +++ b/src/algorithms/acquisition/adapters/galileo_e5a_pcps_acquisition_fpga.h @@ -221,4 +221,4 @@ private: std::vector d_all_fft_codes_; // memory that contains all the code ffts }; -#endif /* GNSS_SDR_GALILEO_E5A_PCPS_ACQUISITION_FPGA_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_PCPS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/adapters/glonass_l1_ca_pcps_acquisition.h b/src/algorithms/acquisition/adapters/glonass_l1_ca_pcps_acquisition.h index 4fc401ba4..c58723498 100644 --- a/src/algorithms/acquisition/adapters/glonass_l1_ca_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/glonass_l1_ca_pcps_acquisition.h @@ -180,4 +180,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GLONASS_L1_CA_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GLONASS_L1_CA_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/glonass_l2_ca_pcps_acquisition.h b/src/algorithms/acquisition/adapters/glonass_l2_ca_pcps_acquisition.h index 5e5e7469d..9284b00d0 100644 --- a/src/algorithms/acquisition/adapters/glonass_l2_ca_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/glonass_l2_ca_pcps_acquisition.h @@ -179,4 +179,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GLONASS_L2_CA_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GLONASS_L2_CA_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition.h index 7a933e584..0aeec5898 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition.h @@ -192,4 +192,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fine_doppler.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fine_doppler.h index c3e033b42..414dd0744 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fine_doppler.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fine_doppler.h @@ -171,4 +171,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_FINE_DOPPLER_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_FINE_DOPPLER_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fpga.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fpga.h index 89ac8a0fc..6fc5cc8ad 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fpga.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_acquisition_fpga.h @@ -216,4 +216,4 @@ private: std::vector d_all_fft_codes_; // memory that contains all the code ffts }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_FPGA_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h index 2cc9baa43..82df66e40 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_assisted_acquisition.h @@ -168,4 +168,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_ASSISTED_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_ASSISTED_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h index 240e49b11..5d80aadec 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_opencl_acquisition.h @@ -180,4 +180,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_OPENCL_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_OPENCL_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_quicksync_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_quicksync_acquisition.h index 3f261a1f7..989bcb2de 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_quicksync_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_quicksync_acquisition.h @@ -181,4 +181,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GPS_L1_CA_PCPS_QUICKSYNC_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_PCPS_QUICKSYNC_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_tong_acquisition.h b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_tong_acquisition.h index a930b98ca..b1339e70e 100644 --- a/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_tong_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l1_ca_pcps_tong_acquisition.h @@ -180,4 +180,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GPS_L1_CA_TONG_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_TONG_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition.h b/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition.h index dbc608f6b..a35736075 100644 --- a/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition.h @@ -190,4 +190,4 @@ private: unsigned int num_codes_; }; -#endif /* GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition_fpga.h b/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition_fpga.h index e16419989..2dcebf9e2 100644 --- a/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition_fpga.h +++ b/src/algorithms/acquisition/adapters/gps_l2_m_pcps_acquisition_fpga.h @@ -180,4 +180,4 @@ private: std::vector d_all_fft_codes_; // memory that contains all the code ffts }; -#endif /* GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_FPGA_H_ */ +#endif // GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition.h b/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition.h index 8812c3fa7..6a1350faa 100644 --- a/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition.h +++ b/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition.h @@ -190,4 +190,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GPS_L5I_PCPS_ACQUISITION_H_ */ +#endif // GNSS_SDR_GPS_L5I_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition_fpga.h b/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition_fpga.h index a956d50d0..d07554e18 100644 --- a/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition_fpga.h +++ b/src/algorithms/acquisition/adapters/gps_l5i_pcps_acquisition_fpga.h @@ -216,4 +216,4 @@ private: float calculate_threshold(float pfa); }; -#endif /* GNSS_SDR_GPS_L5I_PCPS_ACQUISITION_FPGA_H_ */ +#endif // GNSS_SDR_GPS_L5I_PCPS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.h b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.h index b4ea6def2..e8d5907f4 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.h @@ -35,8 +35,8 @@ * ------------------------------------------------------------------------- */ -#ifndef GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ -#define GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ +#ifndef GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ +#define GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ #include "channel_fsm.h" #include "gnss_synchro.h" @@ -257,4 +257,4 @@ private: unsigned int d_gr_stream_buffer; }; -#endif /* GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_NONCOHERENT_IQ_ACQUISITION_CAF_CC_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/galileo_pcps_8ms_acquisition_cc.h b/src/algorithms/acquisition/gnuradio_blocks/galileo_pcps_8ms_acquisition_cc.h index 4e418800d..083788920 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/galileo_pcps_8ms_acquisition_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/galileo_pcps_8ms_acquisition_cc.h @@ -229,4 +229,4 @@ private: std::string d_dump_filename; }; -#endif /* GNSS_SDR_PCPS_8MS_ACQUISITION_CC_H_ */ +#endif // GNSS_SDR_PCPS_8MS_ACQUISITION_CC_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.h index a2a1d4aa8..426809ee9 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition.h @@ -272,4 +272,4 @@ private: float max_to_input_power_statistic(uint32_t& indext, int32_t& doppler, uint32_t num_doppler_bins, int32_t doppler_max, int32_t doppler_step); }; -#endif /* GNSS_SDR_PCPS_ACQUISITION_H_*/ +#endif // GNSS_SDR_PCPS_ACQUISITION_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.h index ee97a7502..afe89a46a 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.h @@ -233,4 +233,4 @@ private: float first_vs_second_peak_statistic(uint32_t& indext, int32_t& doppler, uint32_t num_doppler_bins, int32_t doppler_max, int32_t doppler_step); }; -#endif /* GNSS_SDR_PCPS_ACQUISITION_FPGA_H_*/ +#endif // GNSS_SDR_PCPS_ACQUISITION_FPGA_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_assisted_acquisition_cc.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_assisted_acquisition_cc.h index 4069a8626..bff032ca1 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_assisted_acquisition_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_assisted_acquisition_cc.h @@ -238,4 +238,4 @@ private: std::string d_dump_filename; }; -#endif /* GNSS_SDR_PCPS_ASSISTED_ACQUISITION_CC_H_ */ +#endif // GNSS_SDR_PCPS_ASSISTED_ACQUISITION_CC_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_cccwsr_acquisition_cc.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_cccwsr_acquisition_cc.h index 72d2de517..106be3204 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_cccwsr_acquisition_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_cccwsr_acquisition_cc.h @@ -228,4 +228,4 @@ private: std::string d_dump_filename; }; -#endif /* GNSS_SDR_PCPS_CCCWSR_ACQUISITION_CC_H_ */ +#endif // GNSS_SDR_PCPS_CCCWSR_ACQUISITION_CC_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_quicksync_acquisition_cc.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_quicksync_acquisition_cc.h index 9d658cde4..82fa85a9d 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_quicksync_acquisition_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_quicksync_acquisition_cc.h @@ -258,4 +258,4 @@ private: std::string d_dump_filename; }; -#endif /* GNSS_SDR_PCPS_QUICKSYNC_ACQUISITION_CC_H_ */ +#endif // GNSS_SDR_PCPS_QUICKSYNC_ACQUISITION_CC_H_ diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_tong_acquisition_cc.h b/src/algorithms/acquisition/gnuradio_blocks/pcps_tong_acquisition_cc.h index c37c61dc7..7e62702f5 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_tong_acquisition_cc.h +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_tong_acquisition_cc.h @@ -244,4 +244,4 @@ private: std::string d_dump_filename; }; -#endif /* GNSS_SDR_PCPS_TONG_ACQUISITION_CC_H_ */ +#endif // GNSS_SDR_PCPS_TONG_ACQUISITION_CC_H_ diff --git a/src/algorithms/acquisition/libs/fpga_acquisition.h b/src/algorithms/acquisition/libs/fpga_acquisition.h index 248f10f88..4e784ae8e 100644 --- a/src/algorithms/acquisition/libs/fpga_acquisition.h +++ b/src/algorithms/acquisition/libs/fpga_acquisition.h @@ -178,4 +178,4 @@ private: void read_result_valid(uint32_t *result_valid); }; -#endif /* GNSS_SDR_FPGA_ACQUISITION_H_ */ +#endif // GNSS_SDR_FPGA_ACQUISITION_H_ diff --git a/src/algorithms/input_filter/adapters/beamformer_filter.h b/src/algorithms/input_filter/adapters/beamformer_filter.h index 868956a66..34b2c8c94 100644 --- a/src/algorithms/input_filter/adapters/beamformer_filter.h +++ b/src/algorithms/input_filter/adapters/beamformer_filter.h @@ -86,4 +86,4 @@ private: gr::block_sptr file_sink_; }; -#endif /* GNSS_SDR_BEAMFORMER_FILTER_H_ */ +#endif // GNSS_SDR_BEAMFORMER_FILTER_H_ diff --git a/src/algorithms/libs/beidou_b1i_signal_processing.h b/src/algorithms/libs/beidou_b1i_signal_processing.h index c86907e06..068259624 100644 --- a/src/algorithms/libs/beidou_b1i_signal_processing.h +++ b/src/algorithms/libs/beidou_b1i_signal_processing.h @@ -52,4 +52,4 @@ void beidou_b1i_code_gen_complex_sampled(gsl::span> _dest, u //! Generates complex GPS L1 C/A code for the desired SV ID and code shift void beidou_b1i_code_gen_complex_sampled(gsl::span> _dest, uint32_t _prn, int32_t _fs, uint32_t _chip_shift); -#endif /* BEIDOU_B1I_SDR_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_BEIDOU_B1I_SDR_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/beidou_b3i_signal_processing.h b/src/algorithms/libs/beidou_b3i_signal_processing.h index 0698550e9..1871b6f7b 100644 --- a/src/algorithms/libs/beidou_b3i_signal_processing.h +++ b/src/algorithms/libs/beidou_b3i_signal_processing.h @@ -52,4 +52,4 @@ void beidou_b3i_code_gen_complex_sampled(gsl::span> _dest, u //! Generates complex BeiDou B3I code for the desired SV ID and code shift void beidou_b3i_code_gen_complex_sampled(gsl::span> _dest, uint32_t _prn, int _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_BEIDOU_B3I_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_BEIDOU_B3I_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/galileo_e1_signal_processing.h b/src/algorithms/libs/galileo_e1_signal_processing.h index 08c4db3c8..9d6de17fa 100644 --- a/src/algorithms/libs/galileo_e1_signal_processing.h +++ b/src/algorithms/libs/galileo_e1_signal_processing.h @@ -76,4 +76,4 @@ void galileo_e1_code_gen_complex_sampled(gsl::span> _dest, c void galileo_e1_code_gen_complex_sampled(gsl::span> _dest, const std::array& _Signal, bool _cboc, uint32_t _prn, int32_t _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_GALILEO_E1_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GALILEO_E1_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/galileo_e5_signal_processing.h b/src/algorithms/libs/galileo_e5_signal_processing.h index d3e8b617f..2e655982d 100644 --- a/src/algorithms/libs/galileo_e5_signal_processing.h +++ b/src/algorithms/libs/galileo_e5_signal_processing.h @@ -53,4 +53,4 @@ void galileo_e5_a_code_gen_complex_sampled(gsl::span> _dest, const std::array& _Signal, uint32_t _prn, int32_t _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_GALILEO_E5_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GALILEO_E5_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/glonass_l1_signal_processing.h b/src/algorithms/libs/glonass_l1_signal_processing.h index e7c641b2d..18a2e7499 100644 --- a/src/algorithms/libs/glonass_l1_signal_processing.h +++ b/src/algorithms/libs/glonass_l1_signal_processing.h @@ -46,4 +46,4 @@ void glonass_l1_ca_code_gen_complex_sampled(gsl::span> _dest //! Generates complex GLONASS L1 C/A code for the desired SV ID and code shift void glonass_l1_ca_code_gen_complex_sampled(gsl::span> _dest, int32_t _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_GLONASS_SDR_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GLONASS_SDR_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/glonass_l2_signal_processing.h b/src/algorithms/libs/glonass_l2_signal_processing.h index fe79c4ed5..268014239 100644 --- a/src/algorithms/libs/glonass_l2_signal_processing.h +++ b/src/algorithms/libs/glonass_l2_signal_processing.h @@ -46,4 +46,4 @@ void glonass_l2_ca_code_gen_complex_sampled(gsl::span> _dest //! Generates complex GLONASS L2 C/A code for the desired SV ID and code shift void glonass_l2_ca_code_gen_complex_sampled(gsl::span> _dest, int32_t _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_GLONASS_L2_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GLONASS_L2_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/gnss_circular_deque.h b/src/algorithms/libs/gnss_circular_deque.h index d9508bb98..10e7fbe88 100644 --- a/src/algorithms/libs/gnss_circular_deque.h +++ b/src/algorithms/libs/gnss_circular_deque.h @@ -149,4 +149,4 @@ void Gnss_circular_deque::push_back(unsigned int ch, const T& new_data) d_data[ch].push_back(new_data); } -#endif /* GNSS_SDR_CIRCULAR_DEQUE_H_ */ +#endif // GNSS_SDR_CIRCULAR_DEQUE_H_ diff --git a/src/algorithms/libs/gnss_signal_processing.h b/src/algorithms/libs/gnss_signal_processing.h index d2c68b3eb..e7351719f 100644 --- a/src/algorithms/libs/gnss_signal_processing.h +++ b/src/algorithms/libs/gnss_signal_processing.h @@ -72,4 +72,4 @@ void resampler(const gsl::span _from, gsl::span _dest, void resampler(gsl::span> _from, gsl::span> _dest, float _fs_in, float _fs_out); -#endif /* GNSS_SDR_GNSS_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GNSS_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/gps_l2c_signal.h b/src/algorithms/libs/gps_l2c_signal.h index 099aa4ca2..65afd667b 100644 --- a/src/algorithms/libs/gps_l2c_signal.h +++ b/src/algorithms/libs/gps_l2c_signal.h @@ -44,4 +44,4 @@ void gps_l2c_m_code_gen_float(gsl::span _dest, uint32_t _prn); //! Generates complex GPS L2C M code for the desired SV ID, and sampled to specific sampling frequency void gps_l2c_m_code_gen_complex_sampled(gsl::span> _dest, uint32_t _prn, int32_t _fs); -#endif /* GNSS_GPS_L2C_SIGNAL_H_ */ +#endif // GNSS_SDR_GPS_L2C_SIGNAL_H_ diff --git a/src/algorithms/libs/gps_l5_signal.h b/src/algorithms/libs/gps_l5_signal.h index 057d0f02a..f8e20388b 100644 --- a/src/algorithms/libs/gps_l5_signal.h +++ b/src/algorithms/libs/gps_l5_signal.h @@ -56,4 +56,4 @@ void gps_l5i_code_gen_complex_sampled(gsl::span> _dest, uint void gps_l5q_code_gen_complex_sampled(gsl::span> _dest, uint32_t _prn, int32_t _fs); -#endif /* GNSS_SDR_GPS_L5_SIGNAL_H_ */ +#endif // GNSS_SDR_GPS_L5_SIGNAL_H_ diff --git a/src/algorithms/libs/gps_sdr_signal_processing.h b/src/algorithms/libs/gps_sdr_signal_processing.h index 13cacfabc..1b687aae9 100644 --- a/src/algorithms/libs/gps_sdr_signal_processing.h +++ b/src/algorithms/libs/gps_sdr_signal_processing.h @@ -52,4 +52,4 @@ void gps_l1_ca_code_gen_complex_sampled(gsl::span> _dest, ui //! Generates complex GPS L1 C/A code for the desired SV ID and code shift void gps_l1_ca_code_gen_complex_sampled(gsl::span> _dest, uint32_t _prn, int32_t _fs, uint32_t _chip_shift); -#endif /* GNSS_SDR_GPS_SDR_SIGNAL_PROCESSING_H_ */ +#endif // GNSS_SDR_GPS_SDR_SIGNAL_PROCESSING_H_ diff --git a/src/algorithms/libs/pass_through.h b/src/algorithms/libs/pass_through.h index ed5da32ea..184d37bd6 100644 --- a/src/algorithms/libs/pass_through.h +++ b/src/algorithms/libs/pass_through.h @@ -97,4 +97,4 @@ private: bool inverted_spectrum; }; -#endif /*GNSS_SDR_PASS_THROUGH_H_*/ +#endif // GNSS_SDR_PASS_THROUGH_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_conversions.h b/src/algorithms/libs/rtklib/rtklib_conversions.h index 68f2b33bc..9aca7c8c8 100644 --- a/src/algorithms/libs/rtklib/rtklib_conversions.h +++ b/src/algorithms/libs/rtklib/rtklib_conversions.h @@ -60,4 +60,4 @@ geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, const Glona obsd_t insert_obs_to_rtklib(obsd_t& rtklib_obs, const Gnss_Synchro& gnss_synchro, int week, int band, bool pre_2009_file = false); -#endif /* GNSS_SDR_RTKLIB_CONVERSIONS_H_ */ +#endif // GNSS_SDR_RTKLIB_CONVERSIONS_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_ephemeris.h b/src/algorithms/libs/rtklib/rtklib_ephemeris.h index 4e9517aec..d919ed912 100644 --- a/src/algorithms/libs/rtklib/rtklib_ephemeris.h +++ b/src/algorithms/libs/rtklib/rtklib_ephemeris.h @@ -92,4 +92,4 @@ void satposs(gtime_t teph, const obsd_t *obs, int n, const nav_t *nav, int ephopt, double *rs, double *dts, double *var, int *svh); -#endif /* GNSS_SDR_RTKLIB_EPHEMERIS_H_ */ +#endif // GNSS_SDR_RTKLIB_EPHEMERIS_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_ionex.h b/src/algorithms/libs/rtklib/rtklib_ionex.h index 9c5774fcb..9b5623dd4 100644 --- a/src/algorithms/libs/rtklib/rtklib_ionex.h +++ b/src/algorithms/libs/rtklib/rtklib_ionex.h @@ -87,4 +87,4 @@ int iondelay(gtime_t time, const tec_t *tec, const double *pos, int iontec(gtime_t time, const nav_t *nav, const double *pos, const double *azel, int opt, double *delay, double *var); -#endif /* GNSS_SDR_RTKLIB_IONEX_H_ */ +#endif // GNSS_SDR_RTKLIB_IONEX_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_pntpos.h b/src/algorithms/libs/rtklib/rtklib_pntpos.h index 13becebef..6176b572b 100644 --- a/src/algorithms/libs/rtklib/rtklib_pntpos.h +++ b/src/algorithms/libs/rtklib/rtklib_pntpos.h @@ -162,4 +162,4 @@ int pntpos(const obsd_t *obs, int n, const nav_t *nav, const prcopt_t *opt, sol_t *sol, double *azel, ssat_t *ssat, char *msg); -#endif /* GNSS_SDR_RTKLIB_PNTPOS_H_ */ +#endif // GNSS_SDR_RTKLIB_PNTPOS_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_rtkcmn.h b/src/algorithms/libs/rtklib/rtklib_rtkcmn.h index 249622831..e28bba8e7 100644 --- a/src/algorithms/libs/rtklib/rtklib_rtkcmn.h +++ b/src/algorithms/libs/rtklib/rtklib_rtkcmn.h @@ -286,4 +286,4 @@ int rtk_uncompress(const char *file, char *uncfile); int expath(const char *path, char *paths[], int nmax); void windupcorr(gtime_t time, const double *rs, const double *rr, double *phw); -#endif /* GNSS_SDR_RTKLIB_RTKCMN_H_ */ +#endif // GNSS_SDR_RTKLIB_RTKCMN_H_ diff --git a/src/algorithms/libs/rtklib/rtklib_sbas.h b/src/algorithms/libs/rtklib/rtklib_sbas.h index 801df1202..215297c58 100644 --- a/src/algorithms/libs/rtklib/rtklib_sbas.h +++ b/src/algorithms/libs/rtklib/rtklib_sbas.h @@ -160,4 +160,4 @@ int sbsdecodemsg(gtime_t time, int prn, const unsigned int *words, sbsmsg_t *sbsmsg); -#endif /* GNSS_SDR_RTKLIB_SBAS_H_ */ +#endif // GNSS_SDR_RTKLIB_SBAS_H_ diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_malloc.c b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_malloc.c index 812fe99ce..21eb0d667 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_malloc.c +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_malloc.c @@ -126,4 +126,4 @@ void volk_gnsssdr_free(void *ptr) #endif // _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || HAVE_POSIX_MEMALIGN -//#endif // _ISOC11_SOURCE +//#endif //_ISOC11_SOURCE diff --git a/src/algorithms/resampler/adapters/direct_resampler_conditioner.h b/src/algorithms/resampler/adapters/direct_resampler_conditioner.h index b96bdfdcb..dbdb49724 100644 --- a/src/algorithms/resampler/adapters/direct_resampler_conditioner.h +++ b/src/algorithms/resampler/adapters/direct_resampler_conditioner.h @@ -87,4 +87,4 @@ private: gr::block_sptr file_sink_; }; -#endif /*GNSS_SDR_DIRECT_RESAMPLER_CONDITIONER_H_*/ +#endif // GNSS_SDR_DIRECT_RESAMPLER_CONDITIONER_H_ diff --git a/src/algorithms/resampler/adapters/mmse_resampler_conditioner.h b/src/algorithms/resampler/adapters/mmse_resampler_conditioner.h index aca96e551..1aac3dc1a 100644 --- a/src/algorithms/resampler/adapters/mmse_resampler_conditioner.h +++ b/src/algorithms/resampler/adapters/mmse_resampler_conditioner.h @@ -99,4 +99,4 @@ private: gr::block_sptr file_sink_; }; -#endif /*GNSS_SDR_FRACTIONAL_RESAMPLER_CONDITIONER_H_*/ +#endif // GNSS_SDR_FRACTIONAL_RESAMPLER_CONDITIONER_H_ diff --git a/src/algorithms/signal_generator/adapters/signal_generator.h b/src/algorithms/signal_generator/adapters/signal_generator.h index d38df9e22..b0d5144f3 100644 --- a/src/algorithms/signal_generator/adapters/signal_generator.h +++ b/src/algorithms/signal_generator/adapters/signal_generator.h @@ -95,4 +95,5 @@ private: gr::blocks::file_sink::sptr file_sink_; std::shared_ptr > queue_; }; -#endif /*GNSS_SDR_SIGNAL_GENERATOR_H_*/ + +#endif // GNSS_SDR_SIGNAL_GENERATOR_H_ diff --git a/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.h b/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.h index ff1fb4e7c..54e45af41 100644 --- a/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.h +++ b/src/algorithms/signal_generator/gnuradio_blocks/signal_generator_c.h @@ -154,4 +154,4 @@ private: std::normal_distribution normal_dist; }; -#endif /* GNSS_SDR_SIGNAL_GENERATOR_C_H_ */ +#endif // GNSS_SDR_SIGNAL_GENERATOR_C_H_ diff --git a/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.h b/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.h index 757ba6c3e..9591f1318 100644 --- a/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.h +++ b/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.h @@ -101,4 +101,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GALILEO_E5A_TELEMETRY_DECODER_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_TELEMETRY_DECODER_H_ diff --git a/src/algorithms/telemetry_decoder/libs/viterbi_decoder.h b/src/algorithms/telemetry_decoder/libs/viterbi_decoder.h index 9ae7960a2..a03ef8093 100644 --- a/src/algorithms/telemetry_decoder/libs/viterbi_decoder.h +++ b/src/algorithms/telemetry_decoder/libs/viterbi_decoder.h @@ -125,4 +125,4 @@ private: int parity_counter(int symbol, int length); }; -#endif /* GNSS_SDR_VITERBI_DECODER_H_ */ +#endif // GNSS_SDR_VITERBI_DECODER_H_ diff --git a/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking.h b/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking.h index eedf270be..946388530 100644 --- a/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking.h +++ b/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking.h @@ -104,4 +104,4 @@ private: unsigned int out_streams_; }; -#endif /* GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_H_ diff --git a/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking_fpga.h b/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking_fpga.h index ec574d412..d79b07f42 100644 --- a/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking_fpga.h +++ b/src/algorithms/tracking/adapters/galileo_e5a_dll_pll_tracking_fpga.h @@ -139,4 +139,4 @@ private: bool d_track_pilot; }; -#endif /* GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_FPGA_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_FPGA_H_ diff --git a/src/algorithms/tracking/libs/cpu_multicorrelator.h b/src/algorithms/tracking/libs/cpu_multicorrelator.h index 4bb6a1ef6..396be0e96 100644 --- a/src/algorithms/tracking/libs/cpu_multicorrelator.h +++ b/src/algorithms/tracking/libs/cpu_multicorrelator.h @@ -65,4 +65,4 @@ private: }; -#endif /* GNSS_SDR_CPU_MULTICORRELATOR_H_ */ +#endif // GNSS_SDR_CPU_MULTICORRELATOR_H_ diff --git a/src/algorithms/tracking/libs/cpu_multicorrelator_16sc.h b/src/algorithms/tracking/libs/cpu_multicorrelator_16sc.h index f24546cd5..6a3e8565a 100644 --- a/src/algorithms/tracking/libs/cpu_multicorrelator_16sc.h +++ b/src/algorithms/tracking/libs/cpu_multicorrelator_16sc.h @@ -65,4 +65,4 @@ private: }; -#endif /* GNSS_SDR_CPU_MULTICORRELATOR_H_ */ +#endif // GNSS_SDR_CPU_MULTICORRELATOR_H_ diff --git a/src/algorithms/tracking/libs/cpu_multicorrelator_real_codes.h b/src/algorithms/tracking/libs/cpu_multicorrelator_real_codes.h index 618090907..c3ed0bb05 100644 --- a/src/algorithms/tracking/libs/cpu_multicorrelator_real_codes.h +++ b/src/algorithms/tracking/libs/cpu_multicorrelator_real_codes.h @@ -69,4 +69,4 @@ private: }; -#endif /* GNSS_SDR_CPU_MULTICORRELATOR_REAL_CODES_H_ */ +#endif // GNSS_SDR_CPU_MULTICORRELATOR_REAL_CODES_H_ diff --git a/src/algorithms/tracking/libs/cuda_multicorrelator.h b/src/algorithms/tracking/libs/cuda_multicorrelator.h index ee1e3f590..2d2f9ab1a 100644 --- a/src/algorithms/tracking/libs/cuda_multicorrelator.h +++ b/src/algorithms/tracking/libs/cuda_multicorrelator.h @@ -168,4 +168,4 @@ private: }; -#endif /* GNSS_SDR_CUDA_MULTICORRELATOR_H_ */ +#endif // GNSS_SDR_CUDA_MULTICORRELATOR_H_ diff --git a/src/algorithms/tracking/libs/fpga_multicorrelator.h b/src/algorithms/tracking/libs/fpga_multicorrelator.h index dc0ebd7bc..c1c9827ef 100644 --- a/src/algorithms/tracking/libs/fpga_multicorrelator.h +++ b/src/algorithms/tracking/libs/fpga_multicorrelator.h @@ -265,4 +265,4 @@ private: void write_secondary_code(uint32_t secondary_code_length, std::string *secondary_code_string, uint32_t reg_addr); }; -#endif /* GNSS_SDR_FPGA_MULTICORRELATOR_H_ */ +#endif // GNSS_SDR_FPGA_MULTICORRELATOR_H_ diff --git a/src/core/interfaces/acquisition_interface.h b/src/core/interfaces/acquisition_interface.h index 0c3023eaf..7c711ede4 100644 --- a/src/core/interfaces/acquisition_interface.h +++ b/src/core/interfaces/acquisition_interface.h @@ -76,4 +76,4 @@ public: virtual void set_resampler_latency(uint32_t latency_samples) = 0; }; -#endif /* GNSS_SDR_ACQUISITION_INTERFACE */ +#endif // GNSS_SDR_ACQUISITION_INTERFACE */ diff --git a/src/core/interfaces/channel_interface.h b/src/core/interfaces/channel_interface.h index e79dbe2de..435580fd9 100644 --- a/src/core/interfaces/channel_interface.h +++ b/src/core/interfaces/channel_interface.h @@ -62,4 +62,4 @@ public: virtual void set_signal(const Gnss_Signal&) = 0; }; -#endif /* GNSS_SDR_CHANNEL_INTERFACE_H_ */ +#endif // GNSS_SDR_CHANNEL_INTERFACE_H_ diff --git a/src/core/interfaces/configuration_interface.h b/src/core/interfaces/configuration_interface.h index 5fd8349c8..de179a3b7 100644 --- a/src/core/interfaces/configuration_interface.h +++ b/src/core/interfaces/configuration_interface.h @@ -66,4 +66,4 @@ public: virtual void set_property(std::string property_name, std::string value) = 0; }; -#endif /*GNSS_SDR_CONFIGURATION_INTERFACE_H_*/ +#endif // GNSS_SDR_CONFIGURATION_INTERFACE_H_ diff --git a/src/core/interfaces/gnss_block_interface.h b/src/core/interfaces/gnss_block_interface.h index 0b5b57274..73bc2a927 100644 --- a/src/core/interfaces/gnss_block_interface.h +++ b/src/core/interfaces/gnss_block_interface.h @@ -81,4 +81,4 @@ public: } }; -#endif /*GNSS_SDR_GNSS_BLOCK_INTERFACE_H_*/ +#endif // GNSS_SDR_GNSS_BLOCK_INTERFACE_H_ diff --git a/src/core/interfaces/observables_interface.h b/src/core/interfaces/observables_interface.h index 9c176d5cc..e6c343e65 100644 --- a/src/core/interfaces/observables_interface.h +++ b/src/core/interfaces/observables_interface.h @@ -54,4 +54,4 @@ public: virtual void reset() = 0; }; -#endif /* GNSS_SDR_OBSERVABLES_INTERFACE_H_ */ +#endif // GNSS_SDR_OBSERVABLES_INTERFACE_H_ diff --git a/src/core/interfaces/pvt_interface.h b/src/core/interfaces/pvt_interface.h index e40972589..c67d2cde1 100644 --- a/src/core/interfaces/pvt_interface.h +++ b/src/core/interfaces/pvt_interface.h @@ -71,4 +71,4 @@ public: time_t* UTC_time) = 0; }; -#endif /* GNSS_SDR_PVT_INTERFACE_H_ */ +#endif // GNSS_SDR_PVT_INTERFACE_H_ diff --git a/src/core/interfaces/telemetry_decoder_interface.h b/src/core/interfaces/telemetry_decoder_interface.h index 405bc9015..2792934e6 100644 --- a/src/core/interfaces/telemetry_decoder_interface.h +++ b/src/core/interfaces/telemetry_decoder_interface.h @@ -56,4 +56,4 @@ public: virtual void set_channel(int channel) = 0; }; -#endif /* GNSS_SDR_TELEMETRY_DECODER_INTERFACE_H_ */ +#endif // GNSS_SDR_TELEMETRY_DECODER_INTERFACE_H_ diff --git a/src/core/interfaces/tracking_interface.h b/src/core/interfaces/tracking_interface.h index 73ce57c6b..dbf7bdba7 100644 --- a/src/core/interfaces/tracking_interface.h +++ b/src/core/interfaces/tracking_interface.h @@ -61,4 +61,4 @@ public: virtual void set_channel(unsigned int channel) = 0; }; -#endif /* GNSS_SDR_TRACKING_INTERFACE_H_ */ +#endif // GNSS_SDR_TRACKING_INTERFACE_H_ diff --git a/src/core/monitor/gnss_synchro_udp_sink.h b/src/core/monitor/gnss_synchro_udp_sink.h index 736eb55a8..cbcd8e0b0 100644 --- a/src/core/monitor/gnss_synchro_udp_sink.h +++ b/src/core/monitor/gnss_synchro_udp_sink.h @@ -67,4 +67,4 @@ private: }; -#endif /* GNSS_SDR_GNSS_SYNCHRO_UDP_SINK_H_ */ +#endif // GNSS_SDR_GNSS_SYNCHRO_UDP_SINK_H_ diff --git a/src/core/system_parameters/Beidou_B1I.h b/src/core/system_parameters/Beidou_B1I.h index 41e9b1afd..7d03df0bf 100644 --- a/src/core/system_parameters/Beidou_B1I.h +++ b/src/core/system_parameters/Beidou_B1I.h @@ -58,4 +58,4 @@ const int32_t BEIDOU_B1I_TELEMETRY_SYMBOL_PERIOD_MS = BEIDOU_B1I_TELEMETRY_SYMBO const int32_t BEIDOU_B1I_TELEMETRY_RATE_SYMBOLS_SECOND = BEIDOU_B1I_TELEMETRY_RATE_BITS_SECOND * BEIDOU_B1I_TELEMETRY_SYMBOLS_PER_BIT; -#endif /* GNSS_SDR_BEIDOU_B1I_H_ */ +#endif // GNSS_SDR_BEIDOU_B1I_H_ diff --git a/src/core/system_parameters/Beidou_B3I.h b/src/core/system_parameters/Beidou_B3I.h index 8e7637e8e..defbeb017 100644 --- a/src/core/system_parameters/Beidou_B3I.h +++ b/src/core/system_parameters/Beidou_B3I.h @@ -57,4 +57,4 @@ const int32_t BEIDOU_B3I_TELEMETRY_SYMBOL_PERIOD_MS = BEIDOU_B3I_TELEMETRY_SYMBO const int32_t BEIDOU_B3I_TELEMETRY_RATE_SYMBOLS_SECOND = BEIDOU_B3I_TELEMETRY_RATE_BITS_SECOND * BEIDOU_B3I_TELEMETRY_SYMBOLS_PER_BIT; -#endif /* GNSS_SDR_BEIDOU_B3I_H_ */ +#endif // GNSS_SDR_BEIDOU_B3I_H_ diff --git a/src/core/system_parameters/Beidou_DNAV.h b/src/core/system_parameters/Beidou_DNAV.h index 5c023c12b..b8aa0037e 100644 --- a/src/core/system_parameters/Beidou_DNAV.h +++ b/src/core/system_parameters/Beidou_DNAV.h @@ -298,4 +298,4 @@ const std::vector > D2_OMEGA({{269, 32}}); // D2 NAV, SUBFRAME 1, PAGE 10 const std::vector > D2_IDOT({{52, 1}, {61, 13}}); -#endif /* GNSS_SDR_BEIDOU_DNAV_H_ */ +#endif // GNSS_SDR_BEIDOU_DNAV_H_ diff --git a/src/core/system_parameters/GLONASS_L1_L2_CA.h b/src/core/system_parameters/GLONASS_L1_L2_CA.h index 53378d708..e9009795a 100644 --- a/src/core/system_parameters/GLONASS_L1_L2_CA.h +++ b/src/core/system_parameters/GLONASS_L1_L2_CA.h @@ -327,4 +327,4 @@ const std::vector> H_N_A({{72, 5}}); const std::vector> B1({{6, 11}}); const std::vector> B2({{17, 10}}); -#endif /* GNSS_SDR_GLONASS_L1_L2_CA_H_ */ +#endif // GNSS_SDR_GLONASS_L1_L2_CA_H_ diff --git a/src/core/system_parameters/GPS_CNAV.h b/src/core/system_parameters/GPS_CNAV.h index eea5fce45..f3995abf9 100644 --- a/src/core/system_parameters/GPS_CNAV.h +++ b/src/core/system_parameters/GPS_CNAV.h @@ -179,4 +179,4 @@ const int32_t CNAV_DELTA_TLSF_LSB = 1; // TODO: Add more frames (Almanac, etc...) -#endif /* GNSS_SDR_GPS_CNAV_H_ */ +#endif // GNSS_SDR_GPS_CNAV_H_ diff --git a/src/core/system_parameters/GPS_L1_CA.h b/src/core/system_parameters/GPS_L1_CA.h index fd93e9589..d79c725f3 100644 --- a/src/core/system_parameters/GPS_L1_CA.h +++ b/src/core/system_parameters/GPS_L1_CA.h @@ -253,4 +253,4 @@ const std::vector> HEALTH_SV22({{247, 6}}); const std::vector> HEALTH_SV23({{253, 6}}); const std::vector> HEALTH_SV24({{259, 6}}); -#endif /* GNSS_SDR_GPS_L1_CA_H_ */ +#endif // GNSS_SDR_GPS_L1_CA_H_ diff --git a/src/core/system_parameters/GPS_L2C.h b/src/core/system_parameters/GPS_L2C.h index fcd862e58..f1069cb09 100644 --- a/src/core/system_parameters/GPS_L2C.h +++ b/src/core/system_parameters/GPS_L2C.h @@ -104,4 +104,4 @@ const int32_t GPS_L2_SAMPLES_PER_SYMBOL = 1; const int32_t GPS_L2_CNAV_DATA_PAGE_SYMBOLS = 600; const int32_t GPS_L2_CNAV_DATA_PAGE_DURATION_S = 12; -#endif /* GNSS_SDR_GPS_L2C_H_ */ +#endif // GNSS_SDR_GPS_L2C_H_ diff --git a/src/core/system_parameters/GPS_L5.h b/src/core/system_parameters/GPS_L5.h index 0e17eeff0..0a49a81ee 100644 --- a/src/core/system_parameters/GPS_L5.h +++ b/src/core/system_parameters/GPS_L5.h @@ -193,4 +193,4 @@ const int32_t GPS_L5Q_NH_CODE_LENGTH = 20; const int32_t GPS_L5Q_NH_CODE[20] = {0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0}; const std::string GPS_L5Q_NH_CODE_STR = "00000100110101001110"; -#endif /* GNSS_SDR_GPS_L5_H_ */ +#endif // GNSS_SDR_GPS_L5_H_ diff --git a/src/core/system_parameters/Galileo_E1.h b/src/core/system_parameters/Galileo_E1.h index 28bfb2683..889100051 100644 --- a/src/core/system_parameters/Galileo_E1.h +++ b/src/core/system_parameters/Galileo_E1.h @@ -409,4 +409,4 @@ const std::string GALILEO_E1_C_PRIMARY_CODE[GALILEO_E1_NUMBER_OF_CODES] = { const std::string GALILEO_E1_C_SECONDARY_CODE = "0011100000001010110110010"; -#endif /* GNSS_SDR_GALILEO_E1_H_ */ +#endif // GNSS_SDR_GALILEO_E1_H_ diff --git a/src/core/system_parameters/Galileo_E5a.h b/src/core/system_parameters/Galileo_E5a.h index 8af5584c4..e9e196944 100644 --- a/src/core/system_parameters/Galileo_E5a.h +++ b/src/core/system_parameters/Galileo_E5a.h @@ -388,4 +388,4 @@ const std::string GALILEO_E5A_Q_SECONDARY_CODE[GALILEO_E5A_NUMBER_OF_CODES] = { }; -#endif /* GNSS_SDR_GALILEO_E5A_H_ */ +#endif // GNSS_SDR_GALILEO_E5A_H_ diff --git a/src/core/system_parameters/MATH_CONSTANTS.h b/src/core/system_parameters/MATH_CONSTANTS.h index 7d081abea..8ccc19b31 100644 --- a/src/core/system_parameters/MATH_CONSTANTS.h +++ b/src/core/system_parameters/MATH_CONSTANTS.h @@ -119,4 +119,4 @@ const double SPEED_OF_LIGHT = 299792458.0; //!< [m/s] const double SPEED_OF_LIGHT_MS = 299792.4580; //!< [m/ms] const double AU = 149597870691.0; //!< 1 Astronomical Unit AU (m) distance from Earth to the Sun. -#endif /* GNSS_SDR_MATH_CONSTANTS_H_ */ +#endif // GNSS_SDR_MATH_CONSTANTS_H_ diff --git a/src/core/system_parameters/display.h b/src/core/system_parameters/display.h index a27c2ec5e..48a21d4f6 100644 --- a/src/core/system_parameters/display.h +++ b/src/core/system_parameters/display.h @@ -79,4 +79,4 @@ const std::string TEXT_BOLD_CYAN = ""; const std::string TEXT_BOLD_WHITE = ""; #endif /* DISPLAY_COLORS */ -#endif /* GNSS_SDR_DISPLAY_H_ */ +#endif // GNSS_SDR_DISPLAY_H_ diff --git a/src/core/system_parameters/galileo_fnav_message.h b/src/core/system_parameters/galileo_fnav_message.h index e01016bb2..1ced725e7 100644 --- a/src/core/system_parameters/galileo_fnav_message.h +++ b/src/core/system_parameters/galileo_fnav_message.h @@ -209,4 +209,4 @@ private: // bool omega_flag; }; -#endif /* GNSS_SDR_GALILEO_FNAV_MESSAGE_H_ */ +#endif // GNSS_SDR_GALILEO_FNAV_MESSAGE_H_ diff --git a/src/core/system_parameters/galileo_navigation_message.h b/src/core/system_parameters/galileo_navigation_message.h index 77669c76b..abd781da5 100644 --- a/src/core/system_parameters/galileo_navigation_message.h +++ b/src/core/system_parameters/galileo_navigation_message.h @@ -296,4 +296,4 @@ private: int64_t read_navigation_signed(std::bitset bits, const std::vector >& parameter); }; -#endif /* GALILEO_NAVIGATION_MESSAGE_H_ */ +#endif // GNSS_SDR_GALILEO_NAVIGATION_MESSAGE_H_ diff --git a/src/core/system_parameters/sbas_ephemeris.h b/src/core/system_parameters/sbas_ephemeris.h index c2932c7a5..f19e7fc4d 100644 --- a/src/core/system_parameters/sbas_ephemeris.h +++ b/src/core/system_parameters/sbas_ephemeris.h @@ -55,4 +55,4 @@ public: }; -#endif /* GNSS_SDR_SBAS_EPHEMERIS_H_ */ +#endif // GNSS_SDR_SBAS_EPHEMERIS_H_