This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.
Kieren Rasmussen rascustoms at gmail.comFrom: Kieren Rasmussen <kieren at wolftechpc.com.au>
---
lib/airspyhf/airspyhf_source_c.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/airspyhf/airspyhf_source_c.cc b/lib/airspyhf/airspyhf_source_c.cc
index e4dbe5f..b2965ff 100644
--- a/lib/airspyhf/airspyhf_source_c.cc
+++ b/lib/airspyhf/airspyhf_source_c.cc
@@ -495,7 +495,7 @@ double airspyhf_source_c::set_lna_gain( double gain, size_t chan )
double airspyhf_source_c::set_att_gain( double gain, size_t chan )
{
int ret = AIRSPYHF_SUCCESS;
- osmosdr::gain_range_t gains = get_gain_range( "LNA", chan );
+ osmosdr::gain_range_t gains = get_gain_range( "ATT", chan );
if (_dev) {
double clip_gain = gains.clip( gain, true );
--
2.18.0