hackrf: extend frequency range down to BW/2

soapy_support
Dimitri Stolnikov 8 years ago
parent 7703aabf35
commit ab582493dd
  1. 2
      lib/hackrf/hackrf_sink_c.cc
  2. 2
      lib/hackrf/hackrf_source_c.cc

@ -555,7 +555,7 @@ osmosdr::freq_range_t hackrf_sink_c::get_freq_range( size_t chan )
{
osmosdr::freq_range_t range;
range += osmosdr::range_t( 10e6, 6e9 );
range += osmosdr::range_t( _sample_rate / 2, 7250e6 - _sample_rate / 2 );
return range;
}

@ -450,7 +450,7 @@ osmosdr::freq_range_t hackrf_source_c::get_freq_range( size_t chan )
{
osmosdr::freq_range_t range;
range += osmosdr::range_t( 10e6, 6e9 );
range += osmosdr::range_t( _sample_rate / 2, 7250e6 - _sample_rate / 2 );
return range;
}

Loading…
Cancel
Save