mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
#165 - cleanup of logging and comments in TunerChannelSource
This commit is contained in:
@@ -310,11 +310,6 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang
|
||||
|
||||
public void shutdown()
|
||||
{
|
||||
if(getTunerChannel().getFrequency() == 460500000)
|
||||
{
|
||||
mLog.debug("************** Shutdown has been invoked on the P25 primary control channel: 460500000");
|
||||
}
|
||||
|
||||
mProcessing = false;
|
||||
}
|
||||
|
||||
@@ -372,8 +367,6 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
mLog.error("Error encountered during decimation process", e);
|
||||
|
||||
/* Only log the stack trace if we're still processing */
|
||||
if(mProcessing)
|
||||
{
|
||||
@@ -382,7 +375,7 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang
|
||||
}
|
||||
catch(Throwable throwable)
|
||||
{
|
||||
mLog.error("Bad Error", throwable);
|
||||
mLog.error("Code error encountered during decimation process - channel thread will probably die", throwable);
|
||||
}
|
||||
|
||||
/* Check to see if we've been shutdown */
|
||||
|
||||
Reference in New Issue
Block a user