fix bw
This commit is contained in:
@@ -34,9 +34,10 @@ class AutoFMAM(TEF6686):
|
||||
if self.modulation == Modulation.FM: return self.FM_Get_Quality_Data()
|
||||
elif self.modulation == Modulation.AM: return self.AM_Get_Quality_Data()
|
||||
def Set_Bandwidth(self, bw_client: int):
|
||||
bw_client //= 100
|
||||
if self.modulation == Modulation.FM:
|
||||
auto = (bw_client == 0)
|
||||
self.FM_Set_Bandwidth(auto, 2360 if auto else (bw_client // 100))
|
||||
self.FM_Set_Bandwidth(auto, 2360 if auto else bw_client)
|
||||
elif self.modulation == Modulation.AM: self.AM_Set_Bandwidth(bw_client)
|
||||
|
||||
STEREO_BLENDING = False
|
||||
|
||||
Reference in New Issue
Block a user