aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/FlexCommProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/FlexCommProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/FlexCommProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/FlexCommProtocolDecoder.java b/src/org/traccar/protocol/FlexCommProtocolDecoder.java
index 73c192698..3a1e23d20 100644
--- a/src/org/traccar/protocol/FlexCommProtocolDecoder.java
+++ b/src/org/traccar/protocol/FlexCommProtocolDecoder.java
@@ -118,7 +118,7 @@ public class FlexCommProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_POWER, parser.nextInt() * 0.1);
if (channel != null) {
- channel.write(new NetworkMessage("{01}", remoteAddress));
+ channel.writeAndFlush(new NetworkMessage("{01}", remoteAddress));
}
return position;