ftdiJtagMPSSE.cpp: fix alignment issue

This commit is contained in:
George Huebner 2026-07-11 00:58:23 -07:00
parent d52abf7059
commit 4700951b48
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ int32_t FtdiJtagMPSSE::update_tms_buff(uint8_t *buffer, uint8_t bit,
uint8_t tdo_tmp;
if ((ret = mpsse_read(&tdo_tmp, 1)) < 0)
return ret;
tdo_tmp >>= (8 - offset);
update_tdo_buff(&tdo_tmp, tdo, offset);
offset = 0;
buffer[0] = 0;