mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 09:07:27 -05:00
P25 Work in progress. Adds CRC checking to NID/DUID. Adds limiter to trellis decoder to prevent it from decoding an excessive error message. Updates channel state with initial handling/generation of call events.
This commit is contained in:
@@ -64,7 +64,7 @@ public class SiteNode extends ConfigurableNode
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getForegroundColor()
|
||||
public Color getBackgroundColor()
|
||||
{
|
||||
@SuppressWarnings( "unchecked" )
|
||||
Enumeration<DefaultMutableTreeNode> nodes = children();
|
||||
@@ -73,9 +73,9 @@ public class SiteNode extends ConfigurableNode
|
||||
{
|
||||
ChannelNode child = (ChannelNode)nodes.nextElement();
|
||||
|
||||
if( child.getForegroundColor() != null )
|
||||
if( child.getBackgroundColor() != null )
|
||||
{
|
||||
return Color.BLUE;
|
||||
return Color.CYAN;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user