mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
ftdiJtagMPSSE: read mpsse_write return in toggleClk
This commit is contained in:
@@ -183,7 +183,7 @@ int FtdiJtagMPSSE::toggleClk(uint8_t tms, uint8_t tdi, uint32_t clk_len)
|
||||
buf[0] = 0x8E;
|
||||
buf[1] = len - 1;
|
||||
mpsse_store(buf, 2);
|
||||
mpsse_write();
|
||||
ret = mpsse_write();
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user