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:
Dan Smith 2026-08-09 16:12:41 -07:00 committed by Dan Smith
parent 89396e3ddc
commit a229fae793

View file

@ -2048,7 +2048,7 @@ class KenwoodTMD710GRadio(KenwoodTMx710Radio):
data = radio.get_mmap()[imgadr:imgadr + 256]
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:
LOG.error("Packet 0x%x Write error, no ACK!" % bkx)
sx = "Radio failed to acknowledge upload. "