mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
tmd710: Fix TM-D710G extremely slow write speed
The original author for this was reading more of a response than the radio was sending for each block, triggering the timeout on every single block.
This commit is contained in:
parent
89396e3ddc
commit
a229fae793
1 changed files with 1 additions and 1 deletions
|
|
@ -2048,7 +2048,7 @@ class KenwoodTMD710GRadio(KenwoodTMx710Radio):
|
||||||
data = radio.get_mmap()[imgadr:imgadr + 256]
|
data = radio.get_mmap()[imgadr:imgadr + 256]
|
||||||
cmc = radio._make_command(b'W', addr, 0, data)
|
cmc = radio._make_command(b'W', addr, 0, data)
|
||||||
|
|
||||||
resp0 = _command(radio.pipe, cmc, 6, W8S)
|
resp0 = _command(radio.pipe, cmc, 1, W8S)
|
||||||
if bkx > 0 and resp0 != ACK:
|
if bkx > 0 and resp0 != ACK:
|
||||||
LOG.error("Packet 0x%x Write error, no ACK!" % bkx)
|
LOG.error("Packet 0x%x Write error, no ACK!" % bkx)
|
||||||
sx = "Radio failed to acknowledge upload. "
|
sx = "Radio failed to acknowledge upload. "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue