Skip to content

Commit

Permalink
sink: calculate number of TX samples based on stream count
Browse files Browse the repository at this point in the history
Fixes TX MIMO sink operation.
  • Loading branch information
rthomp10 committed Aug 3, 2023
1 parent 183b337 commit 0b2e00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bladerf/bladerf_sink_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int bladerf_sink_c::work(int noutput_items,
_failures = 0;
}

return noutput_items;
return noutput_items/get_num_channels();
}

int bladerf_sink_c::transmit_with_tags(void const *samples,
Expand Down

0 comments on commit 0b2e00c

Please # to comment.