diff options
Diffstat (limited to 'src/org/traccar/protocol/MeiligaoProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index c58538445..6b40ba912 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -256,7 +256,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { for (int i = 1; i <= 8; i++) { String adc = parser.group(index++); if (adc != null) { - position.set("adc" + i, Integer.parseInt(adc, 16)); + position.set(Event.PREFIX_ADC + i, Integer.parseInt(adc, 16)); } } |