1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

change sanity check to check the right thing

This commit is contained in:
Jim Melton 2021-06-11 23:52:00 -06:00
parent d999a5e6a3
commit bf03b6f144
No known key found for this signature in database
GPG Key ID: C46392D9AACAB216

View File

@ -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)