sleep
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user