Skip to content

Commit

Permalink
#52 Resolves issue where RSPduo in dual-tuner mode has ~435 PPM of co…
Browse files Browse the repository at this point in the history
…rrectable offset
  • Loading branch information
Dennis Sheirer committed Dec 29, 2022
1 parent 3e09a0e commit e0beac6
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,19 @@ public void start() throws SDRPlayException
getControlParameters().getDcOffset().setDC(true);
getControlParameters().getDcOffset().setIQ(true);

//Setup IF, LO, and AGC Mode
//Setup LO and AGC Mode
getControlParameters().getAgc().setAgcMode(AgcMode.DISABLE);
getTunerParameters().setIfMode(IfMode.IF_ZERO);
getTunerParameters().setLoMode(LoMode.AUTO);

//Setup IF mode. In master/slave dual-tuner mode use IF_2048, otherwise use IF_ZERO
if(getDeviceSelectionMode().isSingleTunerMode())
{
getTunerParameters().setIfMode(IfMode.IF_ZERO);
}
else
{
getTunerParameters().setIfMode(IfMode.IF_2048);
}
}
}

Expand Down

0 comments on commit e0beac6

Please sign in to comment.