diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java index 2a1db2e32..a6fd94b83 100644 --- a/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java @@ -327,7 +327,7 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder { return position; } - private Position decodeObd(DeviceSession deviceSession, ByteBuf buf, int index) { + private Position decodeObd(DeviceSession deviceSession, ByteBuf buf) { Position position = new Position(getProtocolName()); position.setDeviceId(deviceSession.getDeviceId()); @@ -425,7 +425,7 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder { } else if (type == MSG_OBD) { - return decodeObd(deviceSession, buf, index); + return decodeObd(deviceSession, buf); } else if (type == MSG_DOWNLINK) { |