forked from sdr/gr-osmosdr
hackrf: set the default sample rate to 10M
this prevents a regression with early firmware who did not have 8M rate but 5M instead. they both had 10M, so we use this as default.
This commit is contained in:
parent
17c2bda9f8
commit
ba5c6c8da6
|
@ -204,7 +204,8 @@ hackrf_sink_c::hackrf_sink_c (const std::string &args)
|
|||
<< std::endl;
|
||||
}
|
||||
|
||||
set_sample_rate( get_sample_rates().start() );
|
||||
// set_sample_rate( get_sample_rates().start() );
|
||||
set_sample_rate( 10e6 );
|
||||
|
||||
set_gain( 0 ); /* disable AMP gain stage by default */
|
||||
|
||||
|
|
|
@ -157,7 +157,8 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
|
|||
<< std::endl;
|
||||
}
|
||||
|
||||
set_sample_rate( get_sample_rates().start() );
|
||||
// set_sample_rate( get_sample_rates().start() );
|
||||
set_sample_rate( 10e6 );
|
||||
|
||||
set_gain( 0 ); /* disable AMP gain stage by default */
|
||||
|
||||
|
|
Loading…
Reference in New Issue