mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
[WIP] Updates the passport decoder to use the new LTRDecoder.
Deprecates the Listener<Boolean> interface method in the MessageFramer to optimize for primitive booleans and reduce impact on memory. Will remove this interface once the AFSK1200 decoders are updated.
This commit is contained in:
@@ -50,7 +50,7 @@ public class LTRNetDecoder extends Decoder implements IReusableBufferListener, L
|
||||
mLTRMessageFramer = new MessageFramer(SyncPattern.LTR_STANDARD_ISW.getPattern(), LTR_NET_MESSAGE_LENGTH);
|
||||
}
|
||||
|
||||
mLTRDecoder.setListener(mLTRMessageFramer);
|
||||
mLTRDecoder.setMessageFramer(mLTRMessageFramer);
|
||||
mLTRMessageFramer.setSyncDetectListener(mLTRDecoder);
|
||||
mLTRMessageProcessor = new LTRNetMessageProcessor(config.getMessageDirection(), aliasList);
|
||||
mLTRMessageFramer.addMessageListener(mLTRMessageProcessor);
|
||||
|
||||
Reference in New Issue
Block a user