remove deprecated lat/long float encodings

This commit is contained in:
geeksville 2020-06-11 21:25:45 -07:00
parent 9f396c1608
commit 98d5f3a7be
3 changed files with 3 additions and 6 deletions

View file

@ -1327,9 +1327,6 @@ class MeshService : Service(), Logging {
debug("Sending our position to=$destNum lat=$lat, lon=$lon, alt=$alt")
val position = MeshProtos.Position.newBuilder().also {
it.latitudeD = lat // Only old radios will use this variant, others will just ignore it
it.longitudeD = lon
it.longitudeI = Position.degI(lon)
it.latitudeI = Position.degI(lat)