ftdipp_mpsse: store cable configuration

This commit is contained in:
Gwenhael Goavec-Merou
2020-10-27 20:27:02 +01:00
parent 4dde89e082
commit b3a67f896f
5 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ void FtdiJtagMPSSE::init_internal(const FTDIpp_MPSSE::mpsse_bit_config &cable)
display("%x\n", cable.bit_high_val);
display("%x\n", cable.bit_high_dir);
init(5, 0xfb, BITMODE_MPSSE, (FTDIpp_MPSSE::mpsse_bit_config &)cable);
init(5, 0xfb, BITMODE_MPSSE);
}
int FtdiJtagMPSSE::writeTMS(uint8_t *tms, int len, bool flush_buffer)