diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc index 72125ad59..5f8e637a8 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc @@ -454,6 +454,7 @@ int galileo_e1b_telemetry_decoder_cc::general_work (int noutput_items __attribut } current_synchro_data.TOW_at_current_symbol_s = floor(d_TOW_at_current_symbol*1000.0)/1000.0; + current_synchro_data.TOW_at_current_symbol_s -=delta_t; //Galileo to GPS TOW if(d_dump == true) { diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc index c613325db..ad7bcc655 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc @@ -109,6 +109,8 @@ gps_l1_ca_telemetry_decoder_cc::gps_l1_ca_telemetry_decoder_cc( d_decimation_output_factor = 1; d_channel = 0; flag_PLL_180_deg_phase_locked = false; + //set minimum output buffer to avoid deadlock when combined with other GNSS systems or signals with slower symbol rates + this->set_min_output_buffer(3000); } @@ -380,7 +382,6 @@ int gps_l1_ca_telemetry_decoder_cc::general_work (int noutput_items __attribute_ } //3. Make the output (copy the object contents to the GNURadio reserved memory) *out[0] = current_synchro_data; - //std::cout<<"GPS L1 TLM output on CH="<d_channel << " SAMPLE STAMP="<