mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 01:25:05 +02:00
Merge pull request #690 from Feyorsh/xvc-fix
Fix XVC error "Invalid DAP ACK value: 3"
This commit is contained in:
@@ -410,6 +410,7 @@ int32_t FtdiJtagMPSSE::update_tms_buff(uint8_t *buffer, uint8_t bit,
|
|||||||
uint8_t tdo_tmp;
|
uint8_t tdo_tmp;
|
||||||
if ((ret = mpsse_read(&tdo_tmp, 1)) < 0)
|
if ((ret = mpsse_read(&tdo_tmp, 1)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
tdo_tmp >>= (8 - offset);
|
||||||
update_tdo_buff(&tdo_tmp, tdo, offset);
|
update_tdo_buff(&tdo_tmp, tdo, offset);
|
||||||
offset = 0;
|
offset = 0;
|
||||||
buffer[0] = 0;
|
buffer[0] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user