File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ meshtastic_MeshPacket *PositionModule::allocReply()
209
209
p.ground_speed = localPosition.ground_speed ;
210
210
211
211
// Strip out any time information before sending packets to other nodes - to keep the wire size small (and because other
212
- // nodes shouldn't trust it anyways) Note: we allow a device with a local GPS to include the time, so that gpsless
213
- // devices can get time.
214
- if (getRTCQuality () < RTCQualityGPS ) {
212
+ // nodes shouldn't trust it anyways) Note: we allow a device with a local GPS or NTP to include the time, so that devices
213
+ // without can get time.
214
+ if (getRTCQuality () < RTCQualityNTP ) {
215
215
LOG_INFO (" Stripping time %u from position send\n " , p.time );
216
216
p.time = 0 ;
217
217
} else {
218
- p.time = getValidTime (RTCQualityGPS );
218
+ p.time = getValidTime (RTCQualityNTP );
219
219
LOG_INFO (" Providing time to mesh %u\n " , p.time );
220
220
}
221
221
You can’t perform that action at this time.
0 commit comments