diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2014-10-21 22:10:40 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2014-10-21 22:13:08 +0200 |
commit | 39230788d7f4b0a8d6d3ab32039073ed53e74af6 (patch) | |
tree | 296b2a12e986ca92a9777284d277a625eaccc0c9 /lib/hackrf/hackrf_source_c.cc | |
parent | 7a8224bcb83a2d350e0e6af9d0a1102ad14e5e52 (diff) |
hackrf: disable AMP gain stage by default to protect it from damage
patch proivided by Paul Connolly
Diffstat (limited to 'lib/hackrf/hackrf_source_c.cc')
-rw-r--r-- | lib/hackrf/hackrf_source_c.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hackrf/hackrf_source_c.cc b/lib/hackrf/hackrf_source_c.cc index f647b80..e3b3ea4 100644 --- a/lib/hackrf/hackrf_source_c.cc +++ b/lib/hackrf/hackrf_source_c.cc @@ -168,7 +168,7 @@ hackrf_source_c::hackrf_source_c (const std::string &args) set_sample_rate( get_sample_rates().start() ); set_bandwidth( 0 ); - set_gain( 14 ); /* enable AMP gain stage by default */ + set_gain( 0 ); /* disable AMP gain stage by default to protect full sprectrum pre-amp from physical damage */ set_if_gain( 16 ); /* preset to a reasonable default (non-GRC use case) */ |