mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
work on swr/tuner
This commit is contained in:
parent
bd8c8f2685
commit
091b69ee87
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue