mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
all jtag cable: no more hardcoding tdi bit with writeTMS
This commit is contained in:
+2
-1
@@ -313,7 +313,8 @@ int CmsisDAP::setClkFreq(uint32_t clkHZ)
|
||||
* flush the buffer
|
||||
* tms states are written only if max or if flush_buffer set
|
||||
*/
|
||||
int CmsisDAP::writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer)
|
||||
int CmsisDAP::writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer,
|
||||
__attribute__((unused)) const uint8_t tdi)
|
||||
{
|
||||
/* nothing to send
|
||||
* check if the buffer must be flushed
|
||||
|
||||
Reference in New Issue
Block a user