Skip to content

Commit

Permalink
add work with RX2/TX2 alone pothosware#61
Browse files Browse the repository at this point in the history
  • Loading branch information
ermito committed Jan 26, 2025
1 parent f214a6d commit 9fa5862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bladeRF_Streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ SoapySDR::Stream *bladeRF_SoapySDR::setupStream(

//check the channel configuration
bladerf_channel_layout layout;
if (channels.size() == 1 and channels.at(0) == 0)
if (channels.size() == 1 and (channels.at(0) == 0 or channels.at(0) == 1))
{
layout = (direction == SOAPY_SDR_RX)?BLADERF_RX_X1:BLADERF_TX_X1;
if (metaMode == "auto") sync_format = BLADERF_FORMAT_SC16_Q11_META;
Expand Down

0 comments on commit 9fa5862

Please sign in to comment.