Bug #9231
closedCannot Set Duplex to "off" for Baofeng P10-UV (Radioddity GA-510)
100%
Description
When using Chirp to program Baofeng P10-UV (with radio model set to Radioddity GA-510 as instructed), the duplex mode cannot be set to "off". Doing so will trigger an error message and the duplex mode will be reset. This is caused by incorrect set_raw method call on arrayDataElement instance in line 397 of /chirp/drivers/ga510.py.
Line 396:397 of /chirp/drivers/ga510.py:
elif mem.duplex == 'off':
_mem.txfreq.set_raw(b'\xff\xff\xff\xff')
Replacing it with the following code fixed the problem:
elif mem.duplex == 'off':
for i in range(0, 4):
_mem.txfreq[i].set_raw("\xFF")
This is because _mem.txfreq is an arrayDataElement instance, therefore the method set_raw should not be called.
Updated by Jim Unroe about 3 years ago
- Status changed from New to In Progress
- Assignee set to Jim Unroe
- Target version set to chirp-legacy
- Platform changed from MacOS to All
I will see if I can get a patch submitted to address this bug.
Jim KC9HI
Updated by Jim Unroe about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Patches submitted. Support should be in the next CHIRP daily build following acceptance.
Note: Also affects Tidradio TD-H6 and other variants such as Baofeng BF-H6
Jim KC9HI
Updated by Anonymous about 3 years ago
- Status changed from Resolved to Closed
Applied in changeset commit:0095bef840de.