From: John Melton G0ORX <john.d.melton@googlemail.com>
Date: Fri, 5 Mar 2021 11:29:31 +0000 (+0000)
Subject: Moved gain values out of SOAPYSDR
X-Git-Url: https://git.rkrishnan.org/simplejson/class-simplejson.JSONDecoder.html?a=commitdiff_plain;h=986f9949af7ef856719b4d8a000f81710b2ae9df;p=pihpsdr.git

Moved gain values out of SOAPYSDR
---

diff --git a/adc.h b/adc.h
index 9f067d1..f0a14b4 100644
--- a/adc.h
+++ b/adc.h
@@ -65,10 +65,10 @@ typedef struct _adc {
   gboolean preamp;
   gint attenuation;
   gboolean enable_step_attenuation;
-#ifdef SOAPYSDR
   gdouble gain;
   gdouble min_gain;
   gdouble max_gain;
+#ifdef SOAPYSDR
   gboolean agc;
 #endif
 } ADC;