mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
fix #462 publish immediately on any GPS state change
(don't wait until end of aquisition window)
This commit is contained in:
@@ -84,7 +84,7 @@ bool NMEAGPS::lookForLocation()
|
||||
heading = reader.course.value() * 1e3; // Scale the heading (in degrees * 10^-2) to match the expected degrees * 10^-5
|
||||
}
|
||||
if (reader.satellites.isValid()) {
|
||||
numSatellites = reader.satellites.value();
|
||||
setNumSatellites(reader.satellites.value());
|
||||
}
|
||||
|
||||
// expect gps pos lat=37.520825, lon=-122.309162, alt=158
|
||||
|
||||
Reference in New Issue
Block a user