mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
P25 - adds direct frequency control for the C4FM symbol filter to adjust the tuner channel for frequency correction.
This commit is contained in:
@@ -500,11 +500,11 @@ public class OverlayPanel extends JPanel
|
||||
}
|
||||
|
||||
/* Draw Automatic Frequency Control line */
|
||||
if( channel.hasAFC() )
|
||||
if( channel.hasFrequencyControl() )
|
||||
{
|
||||
int frequency = (int)tunerChannel.getFrequency();
|
||||
long frequency = tunerChannel.getFrequency();
|
||||
|
||||
int error = frequency + channel.getAFC().getErrorCorrection();
|
||||
long error = frequency + channel.getFrequencyCorrection();
|
||||
|
||||
drawAFC( graphics, getAxisFromFrequency( frequency ), false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user