diff --git a/PlutoSDR/PlutoSDRDevice.cs b/PlutoSDR/PlutoSDRDevice.cs index b4ea452..ccf3342 100644 --- a/PlutoSDR/PlutoSDRDevice.cs +++ b/PlutoSDR/PlutoSDRDevice.cs @@ -329,7 +329,10 @@ public void configureReceiver() this.SampleRate = _sampleRate; this.GainControlMode = _gainControlMode; - this.ManualGain = _manualGain; + if (this.GainControlMode == "manual") + { + this.ManualGain = _manualGain; + } } public unsafe void Start() {