mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Converted frequency to long primitive type (from integer) in anticipation of HackRF support which requires frequencies greater than 2.147 GHz, which is the max hertz value that can be represented by an integer primitive.
This commit is contained in:
@@ -191,7 +191,7 @@ public class MPT1327ChannelState extends ChannelState
|
||||
.build() );
|
||||
}
|
||||
|
||||
int frequency = mChannelMap.getFrequency( channelNumber );
|
||||
long frequency = mChannelMap.getFrequency( channelNumber );
|
||||
|
||||
break;
|
||||
case CLEAR:
|
||||
@@ -330,7 +330,7 @@ public class MPT1327ChannelState extends ChannelState
|
||||
|
||||
SourceConfigTuner source = new SourceConfigTuner();
|
||||
|
||||
int frequency = mChannelMap.getFrequency( channelNumber );
|
||||
long frequency = mChannelMap.getFrequency( channelNumber );
|
||||
|
||||
source.setFrequency( frequency );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user