Set of bit rate based on hamlib

It solved my issue
This commit is contained in:
iw2nke 2021-01-08 00:03:27 +01:00 committed by GitHub
parent 22fcb2f495
commit eeaf32db50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
UHRR
View File

@ -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']!=""):