mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 09:07:27 -05:00
Resolved issue with channel label display in spectrum overlay panel
when a new tuner is added. Cleanup of debugging messages.
This commit is contained in:
@@ -109,7 +109,7 @@ public class AirspyTuner extends Tuner
|
||||
}
|
||||
catch ( SourceException e )
|
||||
{
|
||||
mLog.debug( "Error while getting sample rate from controller", e );
|
||||
mLog.error( "Error while getting sample rate from controller", e );
|
||||
}
|
||||
|
||||
return rate;
|
||||
|
||||
@@ -597,7 +597,7 @@ public class AirspyTunerController extends TunerController
|
||||
{
|
||||
int count = EndianUtils.readSwappedInteger( rawCount, 0 );
|
||||
|
||||
mLog.debug( "There are [" + count + "] sample rates available" );
|
||||
mLog.info( "There are [" + count + "] sample rates available" );
|
||||
|
||||
byte[] rawRates = readArray( Command.GET_SAMPLE_RATES, 0,
|
||||
count, ( count * 4 ) );
|
||||
@@ -898,7 +898,7 @@ public class AirspyTunerController extends TunerController
|
||||
source = new TunerChannelSource( threadPoolManager,
|
||||
tuner, tunerChannel );
|
||||
}
|
||||
|
||||
|
||||
return source;
|
||||
}
|
||||
|
||||
|
||||
@@ -927,7 +927,7 @@ public class HackRFTunerController extends TunerController
|
||||
{
|
||||
if( mRunning.compareAndSet( false, true ) )
|
||||
{
|
||||
mLog.debug( "starting sample fetch thread" );
|
||||
mLog.info( "starting HackRF sample fetch thread" );
|
||||
|
||||
prepareTransfers();
|
||||
|
||||
@@ -969,7 +969,7 @@ public class HackRFTunerController extends TunerController
|
||||
{
|
||||
if( mRunning.compareAndSet( true, false ) )
|
||||
{
|
||||
mLog.debug( "stopping sample fetch thread" );
|
||||
mLog.info( "stopping HackRF sample fetch thread" );
|
||||
|
||||
cancel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user