1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-09 03:20:01 +00:00

Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next

This commit is contained in:
Carles Fernandez 2019-06-17 23:47:39 +02:00
commit 3f507793a7
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 4 additions and 4 deletions

View File

@ -100,14 +100,14 @@ int Gnss_Sdr_Valve::work(int noutput_items,
return 0; return 0;
} }
// multichannel support // multichannel support
for (int ch = 0; ch < output_items.size(); ch++) for (unsigned int ch = 0; ch < output_items.size(); ch++)
{ {
memcpy(output_items[ch], input_items[ch], n * input_signature()->sizeof_stream_item(ch)); memcpy(output_items[ch], input_items[ch], n * input_signature()->sizeof_stream_item(ch));
} }
d_ncopied_items += n; d_ncopied_items += n;
return n; return n;
} }
for (int ch = 0; ch < output_items.size(); ch++) for (unsigned int ch = 0; ch < output_items.size(); ch++)
{ {
memcpy(output_items[ch], input_items[ch], noutput_items * input_signature()->sizeof_stream_item(ch)); memcpy(output_items[ch], input_items[ch], noutput_items * input_signature()->sizeof_stream_item(ch));
} }

View File

@ -218,7 +218,7 @@ void GNSSFlowgraph::connect()
// Signal Source (i) > Signal conditioner (i) > // Signal Source (i) > Signal conditioner (i) >
#ifndef ENABLE_FPGA #ifndef ENABLE_FPGA
int RF_Channels = 0; int RF_Channels = 0;
int signal_conditioner_ID = 0; unsigned int signal_conditioner_ID = 0;
for (int i = 0; i < sources_count_; i++) for (int i = 0; i < sources_count_; i++)
{ {
try try