This commit is contained in:
2026-03-21 15:51:24 +01:00
parent 30ec5b6ae0
commit 154bb56456
+4 -8
View File
@@ -182,14 +182,10 @@ def send_signal_status(tef: TEF6686, conn: socket.socket, state: State):
data = b"S" data = b"S"
if STEREO_BLENDING: stereo_pilot, _ = d if (d := tef.FM_Get_Signal_Status()) else (None, None)
stereo_pilot, _ = d if (d := tef.FM_Get_Signal_Status()) else (None, None) if state.forced_mono: data += b"M"
if state.forced_mono: data += b"M" elif stereo_pilot: data += b"s"
elif stereo_pilot: data += b"s" else: data += b"m"
else: data += b"m"
else:
if state.forced_mono: data += b"M"
else: data += b"S"
if not state.last_bw_extend and level > 38 and usn < 7: if not state.last_bw_extend and level > 38 and usn < 7:
tef.FM_Set_Bandwidth_Options(400) tef.FM_Set_Bandwidth_Options(400)