SoapySDRPlay3 icon indicating copy to clipboard operation
SoapySDRPlay3 copied to clipboard

Remove comparison between input gain argument and corrent gain for IF gain in setGain() method

Open fventuri opened this issue 5 years ago • 0 comments

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.

fventuri avatar May 28 '20 01:05 fventuri