use worst link quality
parent
0d47d4c9f9
commit
0c74bf3224
|
@ -34,7 +34,7 @@ class NodeDB:
|
||||||
for link in self._links:
|
for link in self._links:
|
||||||
if l == link[0]:
|
if l == link[0]:
|
||||||
if link[1] != str(q):
|
if link[1] != str(q):
|
||||||
link[1] += " / " + str(q)
|
link[1] = max(float(link[1]), float(q))
|
||||||
return
|
return
|
||||||
self._links.append([l,str(q)])
|
self._links.append([l,str(q)])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue