Skip to content

Commit

Permalink
remove device description
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-domke committed Apr 2, 2018
1 parent f02d978 commit ba741b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions software/infnoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#define INFNOISE_VENDOR_ID 0x0403
#define INFNOISE_PRODUCT_ID 0x6015
#define INFNOISE_DESCRIPTION "FT240X USB FIFO"

#include <stdint.h>
#include <stdbool.h>
Expand Down Expand Up @@ -186,7 +185,7 @@ static bool initializeUSB(struct ftdi_context *ftdic, char **message, char *seri
}
} else {
// serial specified
rc = ftdi_usb_open_desc(ftdic, INFNOISE_VENDOR_ID, INFNOISE_PRODUCT_ID, INFNOISE_DESCRIPTION, serial);
rc = ftdi_usb_open_desc(ftdic, INFNOISE_VENDOR_ID, INFNOISE_PRODUCT_ID, NULL, serial);
if (rc < 0) {
if(!isSuperUser()) {
*message = "Can't find Infinite Noise Multiplier. Try running as super user?\n";
Expand Down

0 comments on commit ba741b5

Please sign in to comment.