mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 10:37:26 -05:00
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -2055,7 +2055,10 @@ public class P25P1DecoderState extends DecoderState implements IChannelEventList
|
|||||||
if(lcw instanceof LCMotorolaUnitGPS gps)
|
if(lcw instanceof LCMotorolaUnitGPS gps)
|
||||||
{
|
{
|
||||||
mTrafficChannelManager.processP1TrafficCurrentUser(getCurrentFrequency(), gps.getLocation(), timestamp, lcw.toString());
|
mTrafficChannelManager.processP1TrafficCurrentUser(getCurrentFrequency(), gps.getLocation(), timestamp, lcw.toString());
|
||||||
MutableIdentifierCollection mic = getMutableIdentifierCollection(gps.getIdentifiers(), timestamp);
|
|
||||||
|
//We want to preserve the current TO/FROM and any other identifiers for the GPS event and add the GPS location
|
||||||
|
MutableIdentifierCollection mic = new MutableIdentifierCollection(getIdentifierCollection().getIdentifiers());
|
||||||
|
mic.update(gps.getIdentifiers());
|
||||||
|
|
||||||
PlottableDecodeEvent event = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, timestamp)
|
PlottableDecodeEvent event = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, timestamp)
|
||||||
.location(gps.getGeoPosition())
|
.location(gps.getGeoPosition())
|
||||||
|
|||||||
Reference in New Issue
Block a user