diff --git a/xrd.py b/xrd.py index f0dc1f7..58a993d 100644 --- a/xrd.py +++ b/xrd.py @@ -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"):