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
f99eecb894
commit
b3e1e63cdd
3 changed files with 6 additions and 5 deletions
|
@ -249,7 +249,6 @@ class radio:
|
|||
self.get_rf()
|
||||
self.get_tuner()
|
||||
self.get_swr()
|
||||
|
||||
return self.parameters
|
||||
|
||||
def get_frequency(self):
|
||||
|
|
|
@ -10,7 +10,9 @@ class radio:
|
|||
'strength': '---',
|
||||
'bandwidth': '---',
|
||||
'rf': '---',
|
||||
'ptt': False # Initial PTT state is set to False
|
||||
'ptt': False, # Initial PTT state is set to False
|
||||
'tuner': False,
|
||||
'swr': '---'
|
||||
}
|
||||
|
||||
def connect(self, **kwargs):
|
||||
|
|
|
@ -89,9 +89,9 @@ class StateManager:
|
|||
"is_beacon_running": self.is_beacon_running,
|
||||
"is_away_from_key": self.is_away_from_key,
|
||||
"radio_status": self.radio_status,
|
||||
"radio_frequency": self.radio_frequency,
|
||||
"radio_mode": self.radio_mode,
|
||||
"s_meter_strength": self.s_meter_strength,
|
||||
#"radio_frequency": self.radio_frequency,
|
||||
#"radio_mode": self.radio_mode,
|
||||
#"s_meter_strength": self.s_meter_strength,
|
||||
"channel_busy_slot": self.channel_busy_slot,
|
||||
"audio_dbfs": self.audio_dbfs,
|
||||
"activities": self.activities_list,
|
||||
|
|
Loading…
Reference in a new issue