Skip to content

Commit

Permalink
Fixed getGain() for the Rx AMP due to minus typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofquality committed Jan 19, 2018
1 parent 4667336 commit bd1cf4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions 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)
==========================

Expand Down
2 changes: 1 addition & 1 deletion HackRF_Settings.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit bd1cf4d

Please sign in to comment.