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:
Dimitri Stolnikov 2013-06-05 19:20:08 +02:00
parent bbf06c7272
commit 7a129238b7
2 changed files with 4 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */