Project

General

Profile

Actions

Bug #9231

closed

Cannot Set Duplex to "off" for Baofeng P10-UV (Radioddity GA-510)

Added by Young G almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/18/2021
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
Baofeng P10-UV
Platform:
All
Debug Log:
I read the instructions above:

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.

Actions

Also available in: Atom PDF