mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-04 08:34:04 +02:00
all jtag cable: no more hardcoding tdi bit with writeTMS
This commit is contained in:
+3
-2
@@ -171,9 +171,10 @@ int DirtyJtag::setClkFreq(uint32_t clkHZ)
|
||||
return clkHZ;
|
||||
}
|
||||
|
||||
int DirtyJtag::writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer)
|
||||
int DirtyJtag::writeTMS(const uint8_t *tms, uint32_t len,
|
||||
__attribute__((unused)) bool flush_buffer,
|
||||
__attribute__((unused)) const uint8_t tdi)
|
||||
{
|
||||
(void) flush_buffer;
|
||||
int actual_length;
|
||||
|
||||
if (len == 0)
|
||||
|
||||
Reference in New Issue
Block a user