mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -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:
@@ -372,6 +372,15 @@ public class HackRFTunerController extends TunerController
|
||||
throw new SourceException( "Error while applying tuner "
|
||||
+ "configuration", e );
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
setFrequency( hackRFConfig.getFrequency() );
|
||||
}
|
||||
catch( SourceException se )
|
||||
{
|
||||
//Do nothing, we couldn't set the frequency
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user