Update OsMoTracker.java
This commit is contained in:
parent
524bcf0d58
commit
6a27e9dcc1
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ public class OsMoTracker implements OsMoReactor {
|
|||
cmd.append("A").append((int)loc.getAltitude());
|
||||
}
|
||||
if(loc.hasSpeed()) {
|
||||
cmd.append("S").append(((int)loc.getSpeed()*100)/100f);
|
||||
cmd.append("S").append((float)((int)(loc.getSpeed()*100))/100f);
|
||||
}
|
||||
if(loc.hasBearing()) {
|
||||
cmd.append("C").append((int)loc.getBearing());
|
||||
|
|
Loading…
Reference in a new issue