mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
dirtyJtag: writeTDI: when end don't shift before applying last bit -> this Byte is correctly aligned during previous step
This commit is contained in:
@@ -373,7 +373,6 @@ int DirtyJtag::writeTDI(const uint8_t *tx, uint8_t *rx, uint32_t len, bool end)
|
||||
}
|
||||
} while (actual_length == 0);
|
||||
|
||||
rx[rx_cnt >> 3] >>= 1;
|
||||
if (sig & SIG_TDO)
|
||||
rx[rx_cnt >> 3] |= (1 << (rx_cnt & 0x07));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user