This commit is contained in:
2026-03-20 21:34:06 +01:00
parent d09bbe66fb
commit 7b0f74a1e5
+1
View File
@@ -92,6 +92,7 @@ def process_command(tef: TEF6686, data: bytes, state: State, conn: socket.socket
freq = int(cmd.decode().removeprefix("T").strip()) // 10
if freq < 6500 or freq > 10800: continue
tef.FM_Tune_To(TEF6686.TuneTo_Mode.Preset, freq)
time.sleep(0.05)
state.last_tune = freq
out += f"T{freq*10}\n".encode()
elif cmd.startswith(b"G"):