mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
Resolves #64 Persist last tuned frequency to tuner configurations
Task-Url: http://github.com/DSheirer/sdrtrunk/issues/issue/64
This commit is contained in:
@@ -152,12 +152,22 @@ public class E4KTunerController extends RTL2832TunerController
|
||||
E4KEnhanceGain enhanceGain = e4kConfig.getEnhanceGain();
|
||||
setEnhanceGain( enhanceGain, true );
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
setFrequency( e4kConfig.getFrequency() );
|
||||
}
|
||||
catch( SourceException se )
|
||||
{
|
||||
//Do nothing, we couldn't set the frequency
|
||||
}
|
||||
}
|
||||
catch( UsbException e )
|
||||
{
|
||||
throw new SourceException( "E4KTunerController - usb error "
|
||||
+ "while applying tuner config", e );
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user