ftdiJtagMPSSE: read mpsse_write return in toggleClk

This commit is contained in:
Gwenhael Goavec-Merou 2020-06-23 10:13:35 +02:00
parent d5b3073e78
commit e28dbdfb2f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}