Resolves #64 Persist last tuned frequency to tuner configurations

Task-Url: http://github.com/DSheirer/sdrtrunk/issues/issue/64
This commit is contained in:
denny
2016-04-05 19:30:09 -04:00
parent 5672182609
commit 3231e9828b
9 changed files with 85 additions and 1 deletions

View File

@@ -126,6 +126,15 @@ public class R820TTunerController extends RTL2832TunerController
R820TVGAGain vgaGain = config.getVGAGain();
setVGAGain( vgaGain, true );
}
try
{
setFrequency( config.getFrequency() );
}
catch( SourceException se )
{
//Do nothing, we couldn't set the frequency
}
}
catch( UsbException e )
{