Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/librtlsdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,10 +1025,10 @@ int rtlsdr_get_tuner_gain(rtlsdr_dev_t *dev)

int rtlsdr_set_tuner_if_gain(rtlsdr_dev_t *dev, int stage, int gain)
{
int r = 0;
int r = -1;

if (!dev || !dev->tuner)
return -1;
return r;

if (dev->tuner->set_if_gain) {
rtlsdr_set_i2c_repeater(dev, 1);
Expand Down