yep
This commit is contained in:
@@ -159,7 +159,7 @@ def process_command(tef: AutoFMAM, data: bytes, state: State, conn: socket.socke
|
|||||||
if tef.modulation == Modulation.FM: state.bw_fm = bw
|
if tef.modulation == Modulation.FM: state.bw_fm = bw
|
||||||
else: state.bw_am = bw
|
else: state.bw_am = bw
|
||||||
tef.Set_Bandwidth(bw)
|
tef.Set_Bandwidth(bw)
|
||||||
out += f"W{bw}\n".encode()
|
if tef.modulation == Modulation.FM: out += f"W{bw}\n".encode() # Enhanced tuning is full of terrible
|
||||||
elif cmd.startswith(b"?"): out += b">XRD Python driver\n"
|
elif cmd.startswith(b"?"): out += b">XRD Python driver\n"
|
||||||
elif cmd.startswith(b"S"):
|
elif cmd.startswith(b"S"):
|
||||||
cmd = cmd[1:]
|
cmd = cmd[1:]
|
||||||
|
|||||||
Reference in New Issue
Block a user