hackrf: enable AMP gain stage by default

This commit is contained in:
Dimitri Stolnikov 2013-09-28 13:29:03 +02:00
parent b3bbe0935e
commit c1fb07bca7
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ hackrf_sink_c::hackrf_sink_c (const std::string &args)
set_sample_rate( get_sample_rates().start() );
set_bandwidth( 0 );
set_gain( 0 ); /* disable AMP gain stage by default */
set_gain( 14 ); /* enable AMP gain stage by default */
set_if_gain( 16 ); /* preset to a reasonable default (non-GRC use case) */

View File

@ -166,7 +166,7 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
set_sample_rate( get_sample_rates().start() );
set_bandwidth( 0 );
set_gain( 0 ); /* disable AMP gain stage by default */
set_gain( 14 ); /* enable AMP gain stage by default */
set_if_gain( 16 ); /* preset to a reasonable default (non-GRC use case) */