diff options
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r-- | ft2232_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c index 86f3b4a..91eb9e4 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -179,7 +179,7 @@ int ft2232_spi_init(void) return EXIT_FAILURE; // TODO } - f = ftdi_usb_open(ftdic, FTDI_VID, ft2232_type); + f = ftdi_usb_open(ftdic, ft2232_vid, ft2232_type); if (f < 0 && f != -5) { msg_perr("Unable to open FTDI device: %d (%s)\n", f, |