This commit is contained in:
cqc
2026-01-04 11:36:20 +01:00
parent 6fd5d742dd
commit 05c67c9915

View File

@ -123,7 +123,7 @@ def update_display():
b = bearing(lavg, (val[0][0],val[0][1]))
else:
d = float('inf')
b = math.nan
b = float('NaN')
print(name, ":", d, b)
du = "m" if math.isinf(d) else ""
bu = "°" if math.isnan(b) else ""