Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Apr 18, 2024
1 parent 96b98b0 commit 9999b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livegps/src/livegps/LiveGpsAcquirerNMEA.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public void run() {
if (w.getString("course") != null)
course = Float.valueOf(w.getString("course"));
if (w.getString("speed") != null)
speed = Float.valueOf(w.getString("speed"))/3.6;
speed = Float.valueOf(w.getString("speed"))/3.6f;
Logging.trace("New LiveGPS entry: " + w);
LiveGpsData gpsData = new LiveGpsData(w.lat(), w.lon(), course, speed, 0.0f, 0.0f);
gpsData.setWaypoint(w);
Expand Down

0 comments on commit 9999b38

Please sign in to comment.