From b0c19c03f3246fcfbf83b6b42d60b3f47130b817 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 18 Mar 2019 19:41:41 +0100 Subject: [PATCH] Apply formatting --- .../gnuradio_blocks/galileo_telemetry_decoder_gs.cc | 2 ++ .../gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc | 2 ++ .../gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc | 1 + .../gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc | 1 + src/core/receiver/gnss_flowgraph.cc | 2 +- 5 files changed, 7 insertions(+), 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 5c1fab382..2fd06ab57 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 @@ -456,6 +456,8 @@ void galileo_telemetry_decoder_gs::reset() d_sent_tlm_failed_msg = false; DLOG(INFO) << "Telemetry decoder reset for satellite " << d_satellite; } + + void galileo_telemetry_decoder_gs::set_channel(int32_t channel) { d_channel = channel; diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc index ee875b9a4..c29c40113 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc @@ -324,6 +324,7 @@ bool gps_l1_ca_telemetry_decoder_gs::decode_subframe() return subframe_synchro_confirmation; } + void gps_l1_ca_telemetry_decoder_gs::reset() { d_last_valid_preamble = d_sample_counter; @@ -331,6 +332,7 @@ void gps_l1_ca_telemetry_decoder_gs::reset() DLOG(INFO) << "Telemetry decoder reset for satellite " << d_satellite; } + int gps_l1_ca_telemetry_decoder_gs::general_work(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items __attribute__((unused)), gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc index 83d39d8be..ebca21346 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc @@ -146,6 +146,7 @@ void gps_l2c_telemetry_decoder_gs::reset() DLOG(INFO) << "Telemetry decoder reset for satellite " << d_satellite; } + int gps_l2c_telemetry_decoder_gs::general_work(int noutput_items __attribute__((unused)), gr_vector_int &ninput_items __attribute__((unused)), gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc index d9c33d80f..660b0df4d 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc @@ -148,6 +148,7 @@ void gps_l5_telemetry_decoder_gs::set_channel(int32_t channel) } } + void gps_l5_telemetry_decoder_gs::reset() { d_last_valid_preamble = d_sample_counter; diff --git a/src/core/receiver/gnss_flowgraph.cc b/src/core/receiver/gnss_flowgraph.cc index 215cce9ab..1d95a5a31 100644 --- a/src/core/receiver/gnss_flowgraph.cc +++ b/src/core/receiver/gnss_flowgraph.cc @@ -215,7 +215,7 @@ void GNSSFlowgraph::connect() } DLOG(INFO) << "blocks connected internally"; -// Signal Source (i) > Signal conditioner (i) > + // Signal Source (i) > Signal conditioner (i) > #ifndef ENABLE_FPGA