anonymize sendPosition

This commit is contained in:
andrekir 2022-03-02 14:23:41 -03:00
parent 49188adc36
commit 598ec54cf3

View file

@ -1560,7 +1560,7 @@ class MeshService : Service(), Logging {
try {
val mi = myNodeInfo
if (mi != null) {
debug("Sending our position/time to=$destNum lat=$lat, lon=$lon, alt=$alt")
debug("Sending our position/time to=$destNum lat=${lat.anonymize}, lon=${lon.anonymize}, alt=$alt")
val position = MeshProtos.Position.newBuilder().also {
it.longitudeI = Position.degI(lon)