work on swr/tuner

This commit is contained in:
DJ2LS 2024-04-26 20:37:41 +02:00
parent bd8c8f2685
commit 091b69ee87

View file

@ -228,7 +228,11 @@ class radio:
if self.connected:
try:
result = self.send_command('u TUNER')
state = result == 1
if result == 1:
state = True
else:
state = False
self.parameters['tuner'] = state # Update TUNER state in parameters
return True
except Exception as err: