Open fventuri opened 4 years ago
As @SDRplay noticed, in the setGain() method the input gain argument is compared against the current IF gain; this comparison is going to be false in almost every case.
The redundant comparison has been removed from the Settings.cpp code in master in commit https://github.com/SDRplay/SoapySDRPlay/commit/8f508f9ac90afb968cde86f0d41b75d35d61b598.
As @SDRplay noticed, in the setGain() method the input gain argument is compared against the current IF gain; this comparison is going to be false in almost every case.
The redundant comparison has been removed from the Settings.cpp code in master in commit https://github.com/SDRplay/SoapySDRPlay/commit/8f508f9ac90afb968cde86f0d41b75d35d61b598.