libftdi/platform.c: Only set bit direction with MPSSE SET_BIT_XXXX.

This commit is contained in:
Uwe Bonnes 2018-03-06 15:05:14 +01:00
parent 48d232807e
commit 744deb678d
1 changed files with 1 additions and 1 deletions

View File

@ -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();