version bump of software suppport for Hardware Version 2 + added readme
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#ifdef ATMEGA
|
||||
#include <usb.h>
|
||||
#include <libusb.h>
|
||||
#endif
|
||||
struct TransStruct {
|
||||
uint16_t time;
|
||||
@@ -30,11 +30,11 @@ class HardwareSetup : public QThread {
|
||||
bool shellBefore;
|
||||
bool deaBefore;
|
||||
#ifdef ATMEGA
|
||||
usb_dev_handle * handle;
|
||||
int usbGetDescriptorString(usb_dev_handle * dev, int index, int langid,
|
||||
char * buf, int buflen);
|
||||
usb_dev_handle * usbOpenDevice(int vendor, char * vendorName, int product,
|
||||
char * productName);
|
||||
libusb_device_handle * handle;
|
||||
libusb_context * usbContext;
|
||||
int usbGetDescriptorString(libusb_device_handle * dev, int index,
|
||||
int langid, char * buf, int buflen);
|
||||
libusb_device_handle * usbOpenDevice(int vendor, int product);
|
||||
#endif
|
||||
int fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user