mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Frequency limit for Automatic Frequency Control to prevent the controller from walking too far.
Defaults to a maximum of 3kHz, but can be set to as high as 15 kHz.
This commit is contained in:
@@ -376,7 +376,11 @@ public class ProcessingChain implements Listener<Message>
|
||||
{
|
||||
TunerChannelSource tcs = (TunerChannelSource)mSource;
|
||||
|
||||
mAFC = new AutomaticFrequencyControl( tcs );
|
||||
int maximumCorrection = mChannel
|
||||
.getDecodeConfiguration().getAFCMaximumCorrection();
|
||||
|
||||
mAFC = new AutomaticFrequencyControl( tcs,
|
||||
maximumCorrection );
|
||||
|
||||
/* Register AFC to receive frequency change events */
|
||||
tcs.addListener( mAFC );
|
||||
|
||||
Reference in New Issue
Block a user