diff options
Diffstat (limited to 'src/org/traccar/protocol/GpsmtaProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GpsmtaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java index a4e732ed9..1d80178cb 100644 --- a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java +++ b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java @@ -82,7 +82,7 @@ public class GpsmtaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_CHARGE, parser.nextInt(0) == 1); if (channel != null) { - channel.write(new NetworkMessage(time, remoteAddress)); + channel.writeAndFlush(new NetworkMessage(time, remoteAddress)); } return position; |