diff options
author | Irving Gonzalez <ialexis93@gmail.com> | 2015-07-27 21:57:11 -0600 |
---|---|---|
committer | Irving Gonzalez <ialexis93@gmail.com> | 2015-07-27 21:57:11 -0600 |
commit | c4f6471ee18b97130e85efd488b5d102a1935366 (patch) | |
tree | 946ae514f8669c78b748b2ee54fc9e8c1ef144ac /src/org | |
parent | d6c53e951c5cdb4e03a30705f4f922b9b37fd7a6 (diff) | |
parent | e4248b9acf6caac111c881bc9a05bbfc58d2d0a1 (diff) | |
download | traccar-server-c4f6471ee18b97130e85efd488b5d102a1935366.tar.gz traccar-server-c4f6471ee18b97130e85efd488b5d102a1935366.tar.bz2 traccar-server-c4f6471ee18b97130e85efd488b5d102a1935366.zip |
Merge branch 'master' of https://github.com/tananaev/traccar
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java index e3130305b..9b58af854 100644 --- a/src/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/org/traccar/protocol/H02ProtocolDecoder.java @@ -83,7 +83,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { // Location double latitude = readCoordinate(buf, false); - int x = buf.readByte(); // reserved + position.set(Event.KEY_POWER, buf.readByte()); double longitude = readCoordinate(buf, true); int flags = buf.readUnsignedByte() & 0x0f; position.setValid((flags & 0x02) != 0); |