mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Removed unnecessary code
This commit is contained in:
parent
e8f4eb7441
commit
b6ecd9c48f
@ -49,13 +49,6 @@ galileo_make_telemetry_decoder_gs(const Gnss_Satellite &satellite, int frame_typ
|
||||
return galileo_telemetry_decoder_gs_sptr(new galileo_telemetry_decoder_gs(satellite, frame_type, dump));
|
||||
}
|
||||
|
||||
void galileo_telemetry_decoder_gs::set_signal_type(gr_vector_const_void_star &input_items)
|
||||
{
|
||||
const auto **in = reinterpret_cast<const Gnss_Synchro **>(&input_items[0]); // Get the input buffer pointer
|
||||
Gnss_Synchro current_symbol{}; // structure to save the synchronization information and send the output object to the next block
|
||||
current_symbol = in[0][0];
|
||||
signal = current_symbol.Signal[0];
|
||||
}
|
||||
|
||||
galileo_telemetry_decoder_gs::galileo_telemetry_decoder_gs(
|
||||
const Gnss_Satellite &satellite, int frame_type,
|
||||
@ -488,6 +481,7 @@ int galileo_telemetry_decoder_gs::general_work(int noutput_items __attribute__((
|
||||
// 1. Copy the current tracking output
|
||||
current_symbol = in[0][0];
|
||||
// add new symbol to the symbol queue
|
||||
signal = current_symbol.Signal[0];
|
||||
switch (d_frame_type)
|
||||
{
|
||||
case 1: // INAV
|
||||
|
@ -70,10 +70,6 @@ public:
|
||||
int general_work(int noutput_items, gr_vector_int &ninput_items,
|
||||
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
|
||||
|
||||
/*!
|
||||
* \brief This sets the signal type (Galileo E1 or Galileo E5b)
|
||||
*/
|
||||
void set_signal_type(gr_vector_const_void_star &input_items);
|
||||
|
||||
private:
|
||||
friend galileo_telemetry_decoder_gs_sptr galileo_make_telemetry_decoder_gs(
|
||||
@ -141,7 +137,7 @@ private:
|
||||
bool d_flag_preamble;
|
||||
bool d_dump;
|
||||
|
||||
char signal;
|
||||
char signal; // This variable will store which signal we are dealing with (Galileo E1 or E5b)
|
||||
};
|
||||
|
||||
#endif // GNSS_SDR_GALILEO_TELEMETRY_DECODER_GS_H
|
||||
|
Loading…
Reference in New Issue
Block a user