Bugfix: Working on SDR RX
This commit is contained in:
@@ -23,11 +23,9 @@ class GQRXHandler():
|
||||
|
||||
def change_squelch(self, squelch):
|
||||
tel_conn = self.create_telnet_connection()
|
||||
print(f"Changing squelch to {squelch}")
|
||||
print(f"Squelch = {squelch}")
|
||||
if not check_negative(squelch):
|
||||
squelch = float(-abs(squelch))
|
||||
print(f"Squelch = {squelch}")
|
||||
print(f"Changing squelch to {squelch}")
|
||||
tel_conn.write(bytes(f"L SQL {float(squelch)}", 'utf-8'))
|
||||
tel_conn.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user