revert changed to listUSBDevices, for now it just print to stdout
This commit is contained in:
@@ -8,27 +8,7 @@
|
||||
// We also write this in one go to the Keccak sponge, which is at most 1600 bits
|
||||
#define BUFLEN 512u
|
||||
|
||||
// struct for ftdi_device_descriptor
|
||||
struct infnoise_device {
|
||||
uint8_t index;
|
||||
char *manufacturer;
|
||||
char *product;
|
||||
char *serial;
|
||||
};
|
||||
|
||||
struct inm_devlist_node
|
||||
{
|
||||
struct infnoise_device *device;
|
||||
struct inm_devlist_node *next;
|
||||
};
|
||||
|
||||
struct inm_devlist
|
||||
{
|
||||
struct inm_devlist_node *head;
|
||||
};
|
||||
|
||||
|
||||
bool listUSBDevices(struct ftdi_context *ftdic, struct inm_devlist *result, char **message);
|
||||
bool listUSBDevices(struct ftdi_context *ftdic, char **message);
|
||||
|
||||
bool initInfnoise(struct ftdi_context *ftdic, char *serial, char **message, bool debug);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user