diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-06-05 19:21:13 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-06-05 19:21:13 +0200 |
commit | ba5c6c8da6dde55c2ad4095692f4c2058204eff3 (patch) | |
tree | 0cc95c932a9e6cd18b672eb45365579b787b77ee /lib/hackrf/hackrf_source_c.cc | |
parent | 17c2bda9f83de3d445ed75fe93dd4435f09ea65f (diff) |
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.
Diffstat (limited to 'lib/hackrf/hackrf_source_c.cc')
-rw-r--r-- | lib/hackrf/hackrf_source_c.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hackrf/hackrf_source_c.cc b/lib/hackrf/hackrf_source_c.cc index e28a09d..64efce8 100644 --- a/lib/hackrf/hackrf_source_c.cc +++ b/lib/hackrf/hackrf_source_c.cc @@ -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 */ |