mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Tuner Controller update to better handle automatic center frequency
calculation when additional channels are allocated. Incorporates tuner specific definition of overall usable bandwidth, so that tuners like airspy can specify 90% of 10 MHz (ie 9 MHz) is truly usable and the fringe 10% is unusable rolloff. Also includes tuner-specific defining of the width of the central spike, or a value of 0 indicates that the entire range is usable (ie airspy).
This commit is contained in:
@@ -1004,7 +1004,7 @@ public class Channel extends Configuration
|
||||
TunerChannel tunerChannel = getTunerChannel();
|
||||
|
||||
return tunerChannel != null &&
|
||||
tunerChannel.isWithin( minimum, maximum );
|
||||
tunerChannel.overlaps( minimum, maximum );
|
||||
}
|
||||
|
||||
public void addTrafficChannel( String channelID, Channel channel )
|
||||
|
||||
Reference in New Issue
Block a user