You've already forked TEF6686_Driver
apparantly scan has dbμv but signal has dbf?
This commit is contained in:
2
xrd.py
2
xrd.py
@@ -119,7 +119,7 @@ def process_command(tef: TEF6686, data: bytes, state: dict, conn: socket.socket)
|
||||
continue
|
||||
_, level, *_ = d if (d := tef.FM_Get_Quality_Data()) else (None, None)
|
||||
if level is None: continue
|
||||
conn.sendall(str(freq * 10).encode() + b" = " + str((level / 10) + 11.25).encode() + b", ")
|
||||
conn.sendall(str(freq * 10).encode() + b" = " + str((level / 10)).encode() + b", ")
|
||||
conn.sendall(b"\n")
|
||||
|
||||
tef.FM_Tune_To(1, state["last_tune"])
|
||||
|
||||
Reference in New Issue
Block a user