diff --git a/Changelog.txt b/Changelog.txt index 4cda0b5..4135139 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,8 @@ +Release 0.3.3 (pending) +========================== + +- Fixed getGain() for the Rx AMP due to minus typo + Release 0.3.2 (2017-11-19) ========================== diff --git a/HackRF_Settings.cpp b/HackRF_Settings.cpp index 4fb8bdd..7d3bdd5 100644 --- a/HackRF_Settings.cpp +++ b/HackRF_Settings.cpp @@ -420,7 +420,7 @@ double SoapyHackRF::getGain( const int direction, const size_t channel, const st double gain = 0.0; if ( direction == SOAPY_SDR_RX and name == "AMP" ) { - gain = -_rx_stream.amp_gain; + gain = _rx_stream.amp_gain; }else if ( direction == SOAPY_SDR_TX and name == "AMP" ) { gain = _tx_stream.amp_gain;