Experiment: Support for Tacx Fortius 0x1932

.. lets see if this actually works.
This commit is contained in:
Mark Liversedge
2012-11-07 20:02:09 +00:00
parent 9119af5b3f
commit e013bb7a11
2 changed files with 3 additions and 1 deletions

View File

@@ -301,7 +301,8 @@ struct usb_dev_handle* LibUsb::OpenFortius()
for (dev = bus->devices; dev; dev = dev->next) {
if (dev->descriptor.idVendor == FORTIUS_VID && dev->descriptor.idProduct == FORTIUS_PID) {
if (dev->descriptor.idVendor == FORTIUS_VID &&
(dev->descriptor.idProduct == FORTIUS_PID || dev->descriptor.idProduct == FORTIUSVR_PID)) {
//Avoid noisy output
//qDebug() << "Found a Garmin USB2 ANT+ stick";

View File

@@ -43,6 +43,7 @@ extern "C" {
#define FORTIUS_VID 0x3561
#define FORTIUS_INIT_PID 0xe6be // uninitialised Fortius PID
#define FORTIUS_PID 0x1942 // once firmware loaded Fortius PID
#define FORTIUSVR_PID 0x1932 // Fortius VR doesn't need firmware download ?
#define TYPE_ANT 0
#define TYPE_FORTIUS 1