P25 Decoder updates - work in progress.

Updated jmbe library to work with version 0.3.1
This commit is contained in:
denny
2015-11-15 10:32:46 -05:00
parent e27ca12ec8
commit a6c7c4f5d1
10 changed files with 542 additions and 256 deletions

View File

@@ -163,9 +163,11 @@ public class ChannelState extends Module implements ICallEventProvider,
return mState;
}
private boolean isEndingState()
private boolean isIdleOrEndingState()
{
return mState == State.FADE || mState == State.END;
return mState == State.FADE ||
mState == State.END ||
mState == State.IDLE;
}
@@ -568,7 +570,7 @@ public class ChannelState extends Module implements ICallEventProvider,
mSquelchLocked = true;
break;
case CONTINUATION:
if( isEndingState() )
if( isIdleOrEndingState() )
{
setState( event.getState() );
}