From 73a5357d0e7246c9dba610b14a4785d00c9af1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 4 Oct 2022 08:11:07 +0200 Subject: [PATCH] Brainfart. This is already km/h --- src/gps/NMEAGPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps/NMEAGPS.cpp b/src/gps/NMEAGPS.cpp index da25b4f5..380aa641 100644 --- a/src/gps/NMEAGPS.cpp +++ b/src/gps/NMEAGPS.cpp @@ -224,7 +224,7 @@ bool NMEAGPS::lookForLocation() } if (reader.speed.isUpdated() && reader.speed.isValid()) { - p.ground_speed = reader.speed.kmph() * 1e3; // Scale the speed (in km/h * 10^-2) to match the expected m/s * 10^-5 + p.ground_speed = reader.speed.kmph(); } return true;