As per feedback, allow 232H devices to have upper bank pins configured on init.

This commit is contained in:
ultraembedded
2021-06-11 11:24:57 +01:00
parent 291f1b6d6f
commit dc003f6212
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ int FTDIpp_MPSSE::init(unsigned char latency, unsigned char bitmask_mode,
buf_cmd[1] = _cable.bit_low_val; // 0xe8;
buf_cmd[2] = _cable.bit_low_dir; // 0xeb;
if (_cable.force_high_bits || (_ftdi->type != TYPE_4232H && _ftdi->type != TYPE_232H)) {
if (_ftdi->type != TYPE_4232H) {
buf_cmd[4] = _cable.bit_high_val; // 0x00;
buf_cmd[5] = _cable.bit_high_dir; // 0x60;
to_wr = 6;