Merge pull request #151 from meshtastic/ble_config_updates

Update Location to Waypoint per new protos
This commit is contained in:
Garth Vander Houwen 2022-08-21 19:09:06 -07:00 committed by GitHub
commit e40a20c0fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -765,7 +765,7 @@ class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate, CBPeriph
return false
}
var waypointPacket = Location()
var waypointPacket = Waypoint()
waypointPacket.latitudeI = Int32(LocationHelper.currentLocation.latitude * 1e7)
waypointPacket.longitudeI = Int32(LocationHelper.currentLocation.longitude * 1e7)