mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +00:00
change sanity check to check the right thing
This commit is contained in:
parent
d999a5e6a3
commit
bf03b6f144
@ -1052,7 +1052,7 @@ int GNSSFlowgraph::connect_signal_sources_to_signal_conditioners()
|
|||||||
{
|
{
|
||||||
// Connect the multichannel signal source to multiple signal conditioners
|
// Connect the multichannel signal source to multiple signal conditioners
|
||||||
// GNURADIO max_streams=-1 means infinite ports!
|
// GNURADIO max_streams=-1 means infinite ports!
|
||||||
size_t output_size = src->item_size();
|
size_t output_size = src->get_right_block()->output_signature()->sizeof_stream_item(0);
|
||||||
size_t input_size = sig_conditioner_.at(signal_conditioner_ID)->get_left_block()->input_signature()->sizeof_stream_item(0);
|
size_t input_size = sig_conditioner_.at(signal_conditioner_ID)->get_left_block()->input_signature()->sizeof_stream_item(0);
|
||||||
// Check configuration inconsistencies
|
// Check configuration inconsistencies
|
||||||
if (output_size != input_size)
|
if (output_size != input_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user