fix get_locator_beacon
This commit is contained in:
parent
995f17c138
commit
d84226dc5c
3 changed files with 14 additions and 7 deletions
|
@ -284,9 +284,9 @@ class MeshNode(models.Model):
|
|||
return False
|
||||
return dst_node.get_uplink()
|
||||
|
||||
def get_locator_beacon(self):
|
||||
def get_locator_xyz(self):
|
||||
locator = RangeLocator.load()
|
||||
return locator.beacons.get(self.address, None)
|
||||
return locator.get_xyz(self.address)
|
||||
|
||||
|
||||
class MeshUplink(models.Model):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue