mirror of https://github.com/gnss-sdr/gnss-sdr
Apply default clang-tidy check
This commit is contained in:
parent
487010346f
commit
d469c694e2
|
@ -319,7 +319,7 @@ void Gr_Complex_Ip_Packet_Source::my_pcap_loop_thread(pcap_t *pcap_handle)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Gr_Complex_Ip_Packet_Source::demux_samples(gr_vector_void_star output_items, int num_samples_readed)
|
void Gr_Complex_Ip_Packet_Source::demux_samples(const gr_vector_void_star& output_items, int num_samples_readed)
|
||||||
{
|
{
|
||||||
int8_t real;
|
int8_t real;
|
||||||
int8_t imag;
|
int8_t imag;
|
||||||
|
|
|
@ -98,7 +98,7 @@ private:
|
||||||
size_t d_item_size;
|
size_t d_item_size;
|
||||||
bool d_IQ_swap;
|
bool d_IQ_swap;
|
||||||
boost::thread *d_pcap_thread;
|
boost::thread *d_pcap_thread;
|
||||||
void demux_samples(gr_vector_void_star output_items, int num_samples_readed);
|
void demux_samples(const gr_vector_void_star& output_items, int num_samples_readed);
|
||||||
void my_pcap_loop_thread(pcap_t *pcap_handle);
|
void my_pcap_loop_thread(pcap_t *pcap_handle);
|
||||||
void pcap_callback(u_char *args, const struct pcap_pkthdr *pkthdr, const u_char *packet);
|
void pcap_callback(u_char *args, const struct pcap_pkthdr *pkthdr, const u_char *packet);
|
||||||
static void static_pcap_callback(u_char *args, const struct pcap_pkthdr *pkthdr, const u_char *packet);
|
static void static_pcap_callback(u_char *args, const struct pcap_pkthdr *pkthdr, const u_char *packet);
|
||||||
|
|
|
@ -68,8 +68,6 @@ _asn_i_ctfailcb(void *key, asn_TYPE_descriptor_t *td, const void *sptr, const ch
|
||||||
memcpy(arg->errbuf, "<broken vsnprintf>", arg->errlen);
|
memcpy(arg->errbuf, "<broken vsnprintf>", arg->errlen);
|
||||||
arg->errbuf[arg->errlen] = 0;
|
arg->errbuf[arg->errlen] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -68,8 +68,6 @@ _asn_i_ctfailcb(void *key, asn_TYPE_descriptor_t *td, const void *sptr, const ch
|
||||||
memcpy(arg->errbuf, "<broken vsnprintf>", arg->errlen);
|
memcpy(arg->errbuf, "<broken vsnprintf>", arg->errlen);
|
||||||
arg->errbuf[arg->errlen] = 0;
|
arg->errbuf[arg->errlen] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ void GNSSFlowgraph::remove_signal(const Gnss_Signal& gs)
|
||||||
|
|
||||||
|
|
||||||
// project Doppler from primary frequency to secondary frequency
|
// project Doppler from primary frequency to secondary frequency
|
||||||
double GNSSFlowgraph::project_doppler(std::string searched_signal, double primary_freq_doppler_hz)
|
double GNSSFlowgraph::project_doppler(const std::string& searched_signal, double primary_freq_doppler_hz)
|
||||||
{
|
{
|
||||||
switch (mapStringValues_[searched_signal])
|
switch (mapStringValues_[searched_signal])
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,7 +181,7 @@ private:
|
||||||
void push_back_signal(const Gnss_Signal& gs);
|
void push_back_signal(const Gnss_Signal& gs);
|
||||||
void remove_signal(const Gnss_Signal& gs);
|
void remove_signal(const Gnss_Signal& gs);
|
||||||
|
|
||||||
double project_doppler(std::string searched_signal, double primary_freq_doppler_hz);
|
double project_doppler(const std::string& searched_signal, double primary_freq_doppler_hz);
|
||||||
bool connected_;
|
bool connected_;
|
||||||
bool running_;
|
bool running_;
|
||||||
int sources_count_;
|
int sources_count_;
|
||||||
|
|
Loading…
Reference in New Issue