mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Change RTCQuality acceptance criteria (#1797)
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
This commit is contained in:
@@ -108,7 +108,7 @@ MeshPacket *PositionModule::allocReply()
|
|||||||
// Strip out any time information before sending packets to other nodes - to keep the wire size small (and because other
|
// Strip out any time information before sending packets to other nodes - to keep the wire size small (and because other
|
||||||
// nodes shouldn't trust it anyways) Note: we allow a device with a local GPS to include the time, so that gpsless
|
// nodes shouldn't trust it anyways) Note: we allow a device with a local GPS to include the time, so that gpsless
|
||||||
// devices can get time.
|
// devices can get time.
|
||||||
if (getRTCQuality() < RTCQualityGPS) {
|
if (getRTCQuality() < RTCQualityDevice) {
|
||||||
DEBUG_MSG("Stripping time %u from position send\n", p.time);
|
DEBUG_MSG("Stripping time %u from position send\n", p.time);
|
||||||
p.time = 0;
|
p.time = 0;
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user