Skip to content

Commit

Permalink
Fixed typo and change azimuth to setCourse
Browse files Browse the repository at this point in the history
  • Loading branch information
NateZ7 committed May 1, 2018
1 parent db7c498 commit 1b2bcab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/traccar/protocol/AustinNbProtocolDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ protected Object decode(
position.setValid(true);
position.setLatitude(Double.parseDouble(parser.next().replace(',', '.')));
position.setLongitude(Double.parseDouble(parser.next().replace(',', '.')));
position.set("azimuth", parser.nextInt());
position.setCourse(parser.nextInt());
position.set("angle", parser.nextInt());
position.set("range", parser.nextInt());
position.set("outOfRange", parser.nextInt());
position.set("currier", parser.next());
position.set("carrier", parser.next());

return position;
}
Expand Down

0 comments on commit 1b2bcab

Please sign in to comment.