aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-07-12 18:50:31 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-07-12 18:50:31 -0300
commit9c20d2d85c9909b41711e7fe198539dc8cd7d485 (patch)
tree27c2bf9da230709f73f4138e3cb7ceb676358bb9 /src/org/traccar/protocol
parent8ed94697f46788d56d71551940b2f4f4778bb9de (diff)
downloadtraccar-server-9c20d2d85c9909b41711e7fe198539dc8cd7d485.tar.gz
traccar-server-9c20d2d85c9909b41711e7fe198539dc8cd7d485.tar.bz2
traccar-server-9c20d2d85c9909b41711e7fe198539dc8cd7d485.zip
- Fix typpo.
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/SuntechProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java
index 2f66d8d0c..e63637584 100644
--- a/src/org/traccar/protocol/SuntechProtocolEncoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java
@@ -30,7 +30,7 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder {
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "SA200GTR;{%s};02;\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_OUTPUT_CONTROL:
- return formatCommand(command, "SA200CMD;{%s};0{%s};Enable1\r", Command.KEY_UNIQUE_ID, Command.KEY_DATA);
+ return formatCommand(command, "SA200CMD;{%s};0{%s};Enable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_DATA);
case Command.TYPE_ENGINE_STOP:
return formatCommand(command, "SA200CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_ENGINE_RESUME: