mirror of
https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5.git
synced 2024-09-21 07:27:10 +00:00
Merge pull request #26 from iw2nke/patch-1
Set of bit rate based on hamlib
This commit is contained in:
commit
404c1f8dfa
2
UHRR
2
UHRR
@ -342,6 +342,8 @@ class TRXRIG:
|
||||
self.rig_pathname = config['HAMLIB']['rig_pathname']
|
||||
self.rig = Hamlib.Rig(Hamlib.__dict__[self.rig_model]) # Look up the model's numerical index in Hamlib's symbol dictionary.
|
||||
self.rig.set_conf("rig_pathname", self.rig_pathname)
|
||||
if(config['HAMLIB']['rig_rate']!=""):
|
||||
self.rig.set_conf("serial_speed", str(config['HAMLIB']['rig_rate']))
|
||||
if(config['HAMLIB']['data_bits']!=""):
|
||||
self.rig.set_conf("data_bits", str(config['HAMLIB']['data_bits'])) #8 as default
|
||||
if(config['HAMLIB']['stop_bits']!=""):
|
||||
|
Loading…
Reference in New Issue
Block a user