144*
This commit is contained in:
@@ -122,7 +122,7 @@ def process_command(tef: AutoFMAM, data: bytes, state: State, conn: socket.socke
|
|||||||
for cmd in data.splitlines():
|
for cmd in data.splitlines():
|
||||||
if cmd.startswith(b"T"):
|
if cmd.startswith(b"T"):
|
||||||
freq = int(cmd.decode().removeprefix("T").strip())
|
freq = int(cmd.decode().removeprefix("T").strip())
|
||||||
if freq < 153 or freq > 108000: continue
|
if freq < 144 or freq > 108000: continue
|
||||||
|
|
||||||
mode = TEF6686.TuneTo_Mode.FM_Jump
|
mode = TEF6686.TuneTo_Mode.FM_Jump
|
||||||
if tef.modulation == Modulation.AM: mode = TEF6686.TuneTo_Mode.Preset
|
if tef.modulation == Modulation.AM: mode = TEF6686.TuneTo_Mode.Preset
|
||||||
|
|||||||
Reference in New Issue
Block a user