mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 02:27:21 +00:00
senhaix8800: Fix setting tx inhibit on simplex
This radio was disabling tx when duplex='' (i.e. simplex) instead of when duplex='off' Fixes: 11511
This commit is contained in:
parent
63e8a4661e
commit
5897f1b236
@ -579,12 +579,12 @@ class RadioddityGA510Radio(chirp_common.CloneModeRadio):
|
||||
|
||||
_mem.rxfreq = mem.freq // 10
|
||||
if mem.duplex == '':
|
||||
if isinstance(self, Senhaix8800Radio):
|
||||
_mem.allow_tx = False
|
||||
_mem.txfreq = mem.freq // 10
|
||||
elif mem.duplex == 'split':
|
||||
_mem.txfreq = mem.offset // 10
|
||||
elif mem.duplex == 'off':
|
||||
if isinstance(self, Senhaix8800Radio):
|
||||
_mem.allow_tx = False
|
||||
for i in range(0, 4):
|
||||
_mem.txfreq[i].set_raw(b'\xFF')
|
||||
elif mem.duplex == '-':
|
||||
|
Loading…
Reference in New Issue
Block a user