mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-05 13:14:45 +00:00
Brainfart. This is already km/h
This commit is contained in:
parent
cf124d97b8
commit
73a5357d0e
@ -224,7 +224,7 @@ bool NMEAGPS::lookForLocation()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (reader.speed.isUpdated() && reader.speed.isValid()) {
|
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;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user