From 0ce9fcb050ce41d046fd42568e5a8152eaa04781 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Fri, 2 Jan 2026 10:04:02 +0100 Subject: [PATCH] dirtyJtag: writeTDI: when end don't shift before applying last bit -> this Byte is correctly aligned during previous step --- src/dirtyJtag.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dirtyJtag.cpp b/src/dirtyJtag.cpp index 6eba1f9..ff993d8 100644 --- a/src/dirtyJtag.cpp +++ b/src/dirtyJtag.cpp @@ -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));