14 lines
No EOL
341 B
C
14 lines
No EOL
341 B
C
#define nDEBUG
|
|
|
|
void print_array(unsigned char* buf, int size);
|
|
int writeUsb(unsigned char *message);
|
|
int readUsb();
|
|
|
|
libusb_device_handle* dev_handle;
|
|
const uint16_t VID = 0x048d; // REAL
|
|
const uint16_t PID = 0x5711; // REAL
|
|
//const uint16_t VID = 0x0a5c;
|
|
//const uint16_t PID = 0x2101;
|
|
unsigned int TIMEOUT = 2000;
|
|
int counter;
|
|
int limit; |