libftdi/platform.c: Only set bit direction with MPSSE SET_BIT_XXXX.
This commit is contained in:
parent
48d232807e
commit
744deb678d
|
@ -219,7 +219,7 @@ void platform_init(int argc, char **argv)
|
|||
abort();
|
||||
}
|
||||
|
||||
if((err = ftdi_set_bitmode(ftdic, 0xAB, BITMODE_MPSSE)) != 0) {
|
||||
if((err = ftdi_set_bitmode(ftdic, 0, BITMODE_MPSSE)) != 0) {
|
||||
fprintf(stderr, "ftdi_set_bitmode: %d: %s\n",
|
||||
err, ftdi_get_error_string(ftdic));
|
||||
abort();
|
||||
|
|
Loading…
Reference in New Issue